55 lines · plain
1## This test checks the warning message displayed if input file2## contains .debug_pubnames section.3 4# RUN: yaml2obj %s -o %t.o5 6# RUN: llvm-dwarfutil --garbage-collection %t.o %t1 2>&1 | FileCheck %s -DFILE=%t.o7 8# CHECK: [[FILE]]: warning: '.debug_gnu_pubnames' is not currently supported: section will be skipped9 10--- !ELF11FileHeader:12 Class: ELFCLASS6413 Data: ELFDATA2LSB14 Type: ET_REL15 Machine: EM_X86_6416Sections:17 - Name: .text18 Type: SHT_PROGBITS19 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]20 Address: 0x100021 AddressAlign: 0x000000000000001022 Content: "FFFFFFFF"23 - Name: .debug_gnu_pubnames24 Type: SHT_PROGBITS25 Flags: [ ]26 Content: "0000"27DWARF:28 debug_abbrev:29 - Table:30 - Tag: DW_TAG_compile_unit31 Children: DW_CHILDREN_yes32 Attributes:33 - Attribute: DW_AT_producer34 Form: DW_FORM_string35 - Attribute: DW_AT_language36 Form: DW_FORM_data237 - Attribute: DW_AT_name38 Form: DW_FORM_string39 - Attribute: DW_AT_low_pc40 Form: DW_FORM_addr41 - Attribute: DW_AT_high_pc42 Form: DW_FORM_data843 debug_info:44 - Version: 445 Entries:46 - AbbrCode: 147 Values:48 - CStr: by_hand49 - Value: 0x0450 - CStr: CU151 - Value: 0x100052 - Value: 0x453 - AbbrCode: 054...55