brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 8ae9ce5 Raw
30 lines · plain
1// REQUIRES: aarch642// RUN: llvm-mc -triple=aarch64_be %s -filetype=obj -o %t.o3// RUN: ld.lld %t.o --shared -o %t.so4// RUN: llvm-readelf -n %t.so | FileCheck %s --check-prefix=NOTE5 6// RUN: llvm-mc -triple=aarch64_be %s -filetype=obj -o %t.o7// RUN: ld.lld %t.o --shared -o %t.so8// RUN: llvm-readelf -n %t.so | FileCheck %s --check-prefix=NOTE9// RUN: ld.lld %t.o -o %t10// RUN: llvm-readelf -n %t.so | FileCheck %s --check-prefix=NOTE11// RUN: ld.lld -r %t.o -o %t2.o12// RUN: llvm-readelf -n %t.so | FileCheck %s --check-prefix=NOTE13 14/// Test that lld can read big-endian build-attributes.15 16// NOTE: Displaying notes found in: .note.gnu.property17// NOTE-NEXT: Owner Data size Description18// NOTE-NEXT: GNU 0x00000028 NT_GNU_PROPERTY_TYPE_0 (property note)19// NOTE-NEXT: Properties: aarch64 feature: BTI, PAC, GCS20// NOTE-NEXT: AArch64 PAuth ABI core info: platform 0x89abcdef (unknown), version 0x89abcdef21 22 23.aeabi_subsection aeabi_pauthabi, required, uleb12824.aeabi_attribute Tag_PAuth_Platform, 0x123456789ABCDEF25.aeabi_attribute Tag_PAuth_Schema, 0x123456789ABCDEF26.aeabi_subsection aeabi_feature_and_bits, optional, uleb12827.aeabi_attribute Tag_Feature_BTI, 128.aeabi_attribute Tag_Feature_PAC, 129.aeabi_attribute Tag_Feature_GCS, 130