1 # RUN: yaml2obj %s -o %t.o
2 # RUN: not llvm-dwarfdump -debug-info -verify %t.o | FileCheck %s
4 # CHECK: Verifying .debug_info Unit Header Chain...
5 # CHECK-NEXT: error: DW_FORM_ref4 CU offset 0x00001234 is invalid (must be less than CU size of 0x0000001a):
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_no
29 - Attribute: DW_AT_name
31 - Attribute: DW_AT_type
37 - AbbrCode: 0x00000001
39 - Value: 0x0000000000000001
40 - AbbrCode: 0x00000002
42 - Value: 0x000000000000000D
43 - Value: 0x0000000000001234
44 - AbbrCode: 0x00000000