1# RUN: yaml2obj %s -o %t
2# RUN: llvm-objdump --syms %t | FileCheck %s
3
4# CHECK:      SYMBOL TABLE:
5# CHECK-NEXT: .text  00000000 default
6# CHECK-NEXT: .text  00000000 .internal internal
7# CHECK-NEXT: .text  00000000 .hidden hidden
8# CHECK-NEXT: .text  00000000 .protected protected
9# CHECK-NEXT: .text  00000000 0x20 mips_pic
10
11!ELF
12FileHeader:
13  Class:   ELFCLASS32
14  Data:    ELFDATA2LSB
15  Type:    ET_REL
16  Machine: EM_MIPS
17  Flags:   [ EF_MIPS_ABI_O32, EF_MIPS_ARCH_32 ]
18Sections:
19  - Name: .text
20    Type: SHT_PROGBITS
21    Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
22Symbols:
23  - Name:    default
24    Section: .text
25  - Name:    internal
26    Other:   [ STV_INTERNAL ]
27    Section: .text
28  - Name:    hidden
29    Other:   [ STV_HIDDEN ]
30    Section: .text
31  - Name:    protected
32    Other:   [ STV_PROTECTED ]
33    Section: .text
34  - Name:    mips_pic
35    Other:   [ STO_MIPS_PIC ]
36    Section: .text
37