1 # RUN: yaml2obj %s -o %t.o
2 # RUN: not llvm-dwarfdump -verify %t.o | FileCheck %s
4 # CHECK: Verifying non-dwo Units...
5 # CHECK-NEXT: Verifying unit: 1 / 1, "/tmp/main.c"
6 # CHECK-NEXT: error: DIE address ranges are not contained in its parent's ranges:
21 Tag: DW_TAG_compile_unit
22 Children: DW_CHILDREN_yes
24 - Attribute: DW_AT_name
27 Tag: DW_TAG_subprogram
28 Children: DW_CHILDREN_yes
30 - Attribute: DW_AT_name
32 - Attribute: DW_AT_low_pc
34 - Attribute: DW_AT_high_pc
37 Tag: DW_TAG_lexical_block
38 Children: DW_CHILDREN_no
40 - Attribute: DW_AT_low_pc
42 - Attribute: DW_AT_high_pc
48 - AbbrCode: 0x00000001
50 - Value: 0x0000000000000001
51 - AbbrCode: 0x00000002
53 - Value: 0x000000000000000D
54 - Value: 0x0000000000001000
55 - Value: 0x0000000000002000
56 - AbbrCode: 0x00000003
58 - Value: 0x0000000000001000
59 - Value: 0x0000000000002001
60 - AbbrCode: 0x00000000
61 - AbbrCode: 0x00000000