56 lines · yaml
1# RUN: yaml2obj %s -o %t.o2# RUN: not llvm-dwarfdump -verify %t.o | FileCheck %s3 4# CHECK: Verifying non-dwo Units...5# CHECK-NEXT: Verifying unit: 1 / 1, "/tmp/main.c" 6# CHECK-NEXT: error: DIEs have overlapping address ranges7 8--- !ELF9FileHeader:10 Class: ELFCLASS6411 Data: ELFDATA2LSB12 Type: ET_EXEC13DWARF:14 debug_str:15 - ''16 - /tmp/main.c17 - main18 - foo19 debug_abbrev:20 - Table:21 - Code: 0x0000000122 Tag: DW_TAG_compile_unit23 Children: DW_CHILDREN_yes24 Attributes:25 - Attribute: DW_AT_name26 Form: DW_FORM_strp27 - Code: 0x0000000228 Tag: DW_TAG_subprogram29 Children: DW_CHILDREN_no30 Attributes:31 - Attribute: DW_AT_name32 Form: DW_FORM_strp33 - Attribute: DW_AT_low_pc34 Form: DW_FORM_addr35 - Attribute: DW_AT_high_pc36 Form: DW_FORM_addr37 debug_info:38 - Version: 439 AddrSize: 840 Entries:41 - AbbrCode: 0x0000000142 Values:43 - Value: 0x000000000000000144 - AbbrCode: 0x0000000245 Values:46 - Value: 0x000000000000000D47 - Value: 0x000000000000100048 - Value: 0x000000000000200049 - AbbrCode: 0x0000000250 Values:51 - Value: 0x000000000000001252 - Value: 0x0000000000001FFF53 - Value: 0x000000000000200054 - AbbrCode: 0x0000000055 56