37 lines · plain
1# RUN: yaml2obj %s -o %t2# RUN: llvm-objdump --syms %t | FileCheck %s3 4# CHECK: SYMBOL TABLE:5# CHECK-NEXT: .text 00000000 default6# CHECK-NEXT: .text 00000000 .internal internal7# CHECK-NEXT: .text 00000000 .hidden hidden8# CHECK-NEXT: .text 00000000 .protected protected9# CHECK-NEXT: .text 00000000 0x20 mips_pic10 11!ELF12FileHeader:13 Class: ELFCLASS3214 Data: ELFDATA2LSB15 Type: ET_REL16 Machine: EM_MIPS17 Flags: [ EF_MIPS_ABI_O32, EF_MIPS_ARCH_32 ]18Sections:19 - Name: .text20 Type: SHT_PROGBITS21 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]22Symbols:23 - Name: default24 Section: .text25 - Name: internal26 Other: [ STV_INTERNAL ]27 Section: .text28 - Name: hidden29 Other: [ STV_HIDDEN ]30 Section: .text31 - Name: protected32 Other: [ STV_PROTECTED ]33 Section: .text34 - Name: mips_pic35 Other: [ STO_MIPS_PIC ]36 Section: .text37