19 lines · plain
1// REQUIRES: aarch642 3// RUN: llvm-mc -triple=aarch64 -filetype=obj %s -o %t.o4// RUN: ld.lld -r %t.o -o %t.invalid.o5// RUN: llvm-readelf -n %t.invalid.o | FileCheck %s6 7/// According to the BuildAttributes specification Build Attributes8/// A (TagPlatform, TagSchema)of (0, 1) maps to an explicit PAuth property 9/// of platform = 0, version = 0 ('Invalid').10 11// CHECK: Displaying notes found in: .note.gnu.property12// CHECK-NEXT: Owner Data size Description13// CHECK-NEXT: GNU 0x00000018 NT_GNU_PROPERTY_TYPE_0 (property note)14// CHECK-NEXT: Properties: AArch64 PAuth ABI core info: platform 0x0 (invalid), version 0x015 16.aeabi_subsection aeabi_pauthabi, required, uleb12817.aeabi_attribute Tag_PAuth_Platform, 018.aeabi_attribute Tag_PAuth_Schema, 119