Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-nm / special-syms-aarch64.test
blob75d1dfc3b6c9847c30ab8b0b8fa073b4736ca692
1 ## Test --special-syms flag.
2 # RUN: yaml2obj %s -o %t
4 # RUN: llvm-nm %t | count 0
5 # RUN: llvm-nm %t --special-syms | FileCheck %s
7 !ELF
8 FileHeader:
9   Class:           ELFCLASS64
10   Data:            ELFDATA2LSB
11   Type:            ET_REL
12   Machine:         EM_AARCH64
13 Sections:
14   - Name:            .text
15     Type:            SHT_PROGBITS
16     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
17     Address:         0x1000
18   - Name:            .data
19     Type:            SHT_PROGBITS
20     Flags:           [ SHF_ALLOC, SHF_WRITE ]
21     Address:         0x2000
22 Symbols:
23   - Name:     $x.1
24     Section:  .text
25   - Name:     $d.1
26     Section:  .data
28 # CHECK:      2000 d $d.1
29 # CHECK-NEXT: 1000 t $x.1