================ @@ -43,6 +43,102 @@ #define LIBUNWIND_AVAIL #endif +#if __has_feature(ptrauth_calls) + + #include <ptrauth.h> + + #if __has_extension(ptrauth_restricted_intptr_qualifier) ---------------- kovdan01 wrote:
We do not have `__ptrauth_restricted_intptr`, so let's avoid including these changes in mainline runtime libraries. I do get the point that such a qualifier is used in downstream Apple code, but it's better to keep macro definitions dependent on `__ptrauth_restricted_intptr` in Apple code and do not expose them to mainline since this literally makes no sense for anyone else. See proposed fix a2390e1e285023af78d27d768540bb8f30efea76 in my branch https://github.com/kovdan01/llvm-project/commits/pointer-authenticated-unwinding-2025-09-22-with-fixes/ https://github.com/llvm/llvm-project/pull/143230 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits