[libcxx-commits] [compiler-rt] [libcxx] [libcxxabi] [libunwind] [runtimes][PAC] Harden unwinding when possible (PR #143230)

Oliver Hunt via libcxx-commits libcxx-commits at lists.llvm.org
Wed Sep 3 10:16:45 PDT 2025


================
@@ -30,6 +30,45 @@ EXCEPTION_DISPOSITION _GCC_specific_handler(PEXCEPTION_RECORD, void *, PCONTEXT,
                                             _Unwind_Personality_Fn);
 #endif
 
+#if __has_feature(ptrauth_qualifier)
+#include <ptrauth.h>
+#if __has_feature(ptrauth_restricted_intptr_qualifier)
----------------
ojhunt wrote:

Backwards compatibility, always backwards compatibility. The blind use of restricted intptr should just fail the build, so I assume this ongoing local build issues.

https://github.com/llvm/llvm-project/pull/143230


More information about the libcxx-commits mailing list