================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits