73 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 debug_abbrev:19 - Table:20 - Code: 0x0000000121 Tag: DW_TAG_compile_unit22 Children: DW_CHILDREN_yes23 Attributes:24 - Attribute: DW_AT_low_pc25 Form: DW_FORM_addr26 - Attribute: DW_AT_high_pc27 Form: DW_FORM_addr28 - Attribute: DW_AT_name29 Form: DW_FORM_strp30 - Code: 0x0000000231 Tag: DW_TAG_subprogram32 Children: DW_CHILDREN_yes33 Attributes:34 - Attribute: DW_AT_name35 Form: DW_FORM_strp36 - Attribute: DW_AT_low_pc37 Form: DW_FORM_addr38 - Attribute: DW_AT_high_pc39 Form: DW_FORM_addr40 - Code: 0x0000000341 Tag: DW_TAG_lexical_block42 Children: DW_CHILDREN_no43 Attributes:44 - Attribute: DW_AT_low_pc45 Form: DW_FORM_addr46 - Attribute: DW_AT_high_pc47 Form: DW_FORM_addr48 debug_info:49 - Version: 450 AddrSize: 851 Entries:52 - AbbrCode: 0x0000000153 Values:54 - Value: 0x000000000000100055 - Value: 0x000000000000200056 - Value: 0x000000000000000157 - AbbrCode: 0x0000000258 Values:59 - Value: 0x000000000000000D60 - Value: 0x000000000000100061 - Value: 0x000000000000200062 - AbbrCode: 0x0000000363 Values:64 - Value: 0x000000000000110065 - Value: 0x000000000000130066 - AbbrCode: 0x0000000367 Values:68 - Value: 0x00000000000012FF69 - Value: 0x000000000000130070 - AbbrCode: 0x0000000071 - AbbrCode: 0x0000000072 73