Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / obj2yaml / ELF / aarch64-sym-other.yaml
blobad20a6546e62c86552356d34af1457b75f021552
1 ## Check AArch64 st_other extension support.
3 # RUN: yaml2obj %s -o %t
4 # RUN: obj2yaml %t | FileCheck %s
6 # CHECK: Symbols:
7 # CHECK:  - Name:  foo1
8 # CHECK:    Other: [ STO_AARCH64_VARIANT_PCS ]
9 # CHECK:  - Name:  foo2
10 # CHECK:    Other: [ STO_AARCH64_VARIANT_PCS, 64 ]
12 --- !ELF
13 FileHeader:
14   Class:   ELFCLASS64
15   Data:    ELFDATA2LSB
16   Type:    ET_REL
17   Machine: EM_AARCH64
18 Symbols:
19   - Name:  foo1
20     Other: [ STO_AARCH64_VARIANT_PCS ]
21   - Name:  foo2
22     Other: [ STO_AARCH64_VARIANT_PCS, 0x40 ]