================
@@ -0,0 +1,35 @@
+// Verify that XRay works with pointer authentication (PAC) enabled.
+// The XRay sled is placed before PACIASP in the function prologue,
+// so the trampoline receives an unsigned LR, and PAC signing happens
+// after the trampoline returns.
+
+// RUN: %clangxx_xray -fxray-instruction-threshold=1
-mbranch-protection=pac-ret %s -o %t
+// RUN: %run %t 2>&1 | FileCheck %s
+
+// REQUIRES: target=arm64{{(-apple)?.*}}
----------------
DanBlackwell wrote:
Is `(-apple)?` actually doing anything here?
https://github.com/llvm/llvm-project/pull/196848
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits