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:
20 Tag: DW_TAG_compile_unit
21 Children: DW_CHILDREN_yes
23 - Attribute: DW_AT_low_pc
25 - Attribute: DW_AT_high_pc
27 - Attribute: DW_AT_name
30 Tag: DW_TAG_subprogram
31 Children: DW_CHILDREN_no
33 - Attribute: DW_AT_low_pc
35 - Attribute: DW_AT_high_pc
41 - AbbrCode: 0x00000001
43 - Value: 0x0000000000001000
44 - Value: 0x0000000000001500
45 - Value: 0x0000000000000001
46 - AbbrCode: 0x00000002
48 - Value: 0x0000000000001000
49 - Value: 0x0000000000002000
50 - AbbrCode: 0x00000000