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:
20 Tag: DW_TAG_compile_unit
21 Children: DW_CHILDREN_yes
23 - Attribute: DW_AT_name
26 Tag: DW_TAG_subprogram
27 Children: DW_CHILDREN_yes
29 - Attribute: DW_AT_name
31 - Attribute: DW_AT_low_pc
33 - Attribute: DW_AT_high_pc
36 Tag: DW_TAG_lexical_block
37 Children: DW_CHILDREN_no
39 - Attribute: DW_AT_low_pc
41 - Attribute: DW_AT_high_pc
47 - AbbrCode: 0x00000001
49 - Value: 0x0000000000000001
50 - AbbrCode: 0x00000002
52 - Value: 0x000000000000000D
53 - Value: 0x0000000000001000
54 - Value: 0x0000000000002000
55 - AbbrCode: 0x00000003
57 - Value: 0x0000000000001000
58 - Value: 0x0000000000002001
59 - AbbrCode: 0x00000000
60 - AbbrCode: 0x00000000