31 lines · yaml
1# RUN: yaml2obj %s -o %t.o2# RUN: not llvm-dwarfdump -debug-info -verify %t.o | FileCheck %s3 4# CHECK: Verifying non-dwo Units... 5# CHECK-NEXT: Verifying unit: 1 / 1 6# CHECK-NEXT: error: DW_FORM_strp offset 4660 is beyond .debug_str bounds:7 8--- !ELF9FileHeader:10 Class: ELFCLASS6411 Data: ELFDATA2LSB12 Type: ET_EXEC13DWARF:14 debug_str:15 - ''16 debug_abbrev:17 - Table:18 - Code: 0x0000000119 Tag: DW_TAG_compile_unit20 Children: DW_CHILDREN_no21 Attributes:22 - Attribute: DW_AT_name23 Form: DW_FORM_strp24 debug_info:25 - Version: 426 AddrSize: 827 Entries:28 - AbbrCode: 0x0000000129 Values:30 - Value: 0x000000000000123431