1 # RUN: yaml2obj %s -o %t.o
2 # RUN: not llvm-dwarfdump -verify %t.o | FileCheck %s
4 # CHECK: Verifying .debug_info Unit Header Chain...
5 # CHECK-NEXT: error: DIE address ranges are not contained in its parent's ranges:
19 Tag: DW_TAG_compile_unit
20 Children: DW_CHILDREN_yes
22 - Attribute: DW_AT_low_pc
24 - Attribute: DW_AT_high_pc
26 - Attribute: DW_AT_name
29 Tag: DW_TAG_subprogram
30 Children: DW_CHILDREN_no
32 - Attribute: DW_AT_low_pc
34 - Attribute: DW_AT_high_pc
40 - AbbrCode: 0x00000001
42 - Value: 0x0000000000001000
43 - Value: 0x0000000000001500
44 - Value: 0x0000000000000001
45 - AbbrCode: 0x00000002
47 - Value: 0x0000000000001000
48 - Value: 0x0000000000002000
49 - AbbrCode: 0x00000000