1 # RUN: yaml2obj %s -o %t.o
2 # RUN: not llvm-dwarfdump -debug-info -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: invalid DIE reference 0x00000011. Offset is in between DIEs:
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_no
30 - Attribute: DW_AT_name
32 - Attribute: DW_AT_type
33 Form: DW_FORM_ref_addr
38 - AbbrCode: 0x00000001
40 - Value: 0x0000000000000001
41 - AbbrCode: 0x00000002
43 - Value: 0x000000000000000D
44 - Value: 0x0000000000000011
45 - AbbrCode: 0x00000000