xref: /llvm-project/llvm/test/tools/llvm-nm/special-syms-csky.test (revision 74b6b113f4a1c98f8859a08aad595b91aa03d197)
1# RUN: yaml2obj %s -o %t
2# RUN: llvm-nm %t | count 0
3# RUN: llvm-nm --special-syms %t | FileCheck %s
4
5!ELF
6FileHeader:
7  Class:           ELFCLASS32
8  Data:            ELFDATA2LSB
9  Type:            ET_REL
10  Machine:         EM_CSKY
11Sections:
12  - Name:            .text
13    Type:            SHT_PROGBITS
14    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
15    AddressAlign:    0x4
16Symbols:
17  - Name:     $d.1
18    Section:  .text
19  - Name:     $t.1
20    Section:  .text
21
22# CHECK: 00000000 t $d.1
23# CHECK: 00000000 t $t.1
24