[compiler-rt] [libcxx] [libcxxabi] [libunwind] [runtimes][PAC] Harden unwinding when possible (PR #143230)
Daniil Kovalev via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 3 05:16:17 PDT 2025
================
@@ -103,6 +103,52 @@
#define _LIBCXXABI_DTOR_FUNC
#endif
+#if __has_include(<ptrauth.h>)
+# include <ptrauth.h>
+#endif
----------------
kovdan01 wrote:
@ojhunt Can we get rid of `__has_include(<ptrauth.h>)` check here and switch to `__has_feature(ptrauth_calls) || defined(__PTRAUTH__)` just as a couple of lines below?
https://github.com/llvm/llvm-project/pull/143230
More information about the llvm-commits
mailing list