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: DW_AT_ranges offset is beyond .debug_rnglists bounds: 0x00001000
20 Tag: DW_TAG_compile_unit
21 Children: DW_CHILDREN_no
23 - Attribute: DW_AT_name
25 - Attribute: DW_AT_ranges
26 Form: DW_FORM_sec_offset
29 UnitType: DW_UT_compile
32 - AbbrCode: 0x00000001
34 - Value: 0x0000000000000001
35 - Value: 0x0000000000001000