[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
Mon Sep 22 10:02:30 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:

> 1. (To be fixed in scope of this PR) Comment in this PR about `ptrauth_restricted_intptr_qualifier`: TODO

No, that renders the library unbuildable in shipping apple clang.

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


More information about the libcxx-commits mailing list