1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/test/tools/obj2yaml/ELF/aarch64-sym-other.yaml
Adhemerval Zanella 9a68275ddd [obj2yaml][yaml2obj] - Add AArch64 STO_AARCH64_VARIANT_PCS support
Reviewed By: grimar, MaskRay

Differential Revision: https://reviews.llvm.org/D93235
2020-12-17 11:09:53 -03:00

23 lines
502 B
YAML

## Check AArch64 st_other extension support.
# RUN: yaml2obj %s -o %t
# RUN: obj2yaml %t | FileCheck %s
# CHECK: Symbols:
# CHECK: - Name: foo1
# CHECK: Other: [ STO_AARCH64_VARIANT_PCS ]
# CHECK: - Name: foo2
# CHECK: Other: [ STO_AARCH64_VARIANT_PCS, 64 ]
--- !ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_REL
Machine: EM_AARCH64
Symbols:
- Name: foo1
Other: [ STO_AARCH64_VARIANT_PCS ]
- Name: foo2
Other: [ STO_AARCH64_VARIANT_PCS, 0x40 ]