[clang] [clang][PAC] ptrauth_qualifier and ptrauth_intrinsic should only be available on Darwin (PR #153912)
Oliver Hunt via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 16 02:15:33 PDT 2025
================
@@ -1528,6 +1528,9 @@ static void InitializePredefinedMacros(const TargetInfo &TI,
#undef TARGET_OS
}
+ if (LangOpts.PointerAuthIntrinsics)
+ Builder.defineMacro("__PTRAUTH__");
----------------
ojhunt wrote:
I don't believe gcc has any support as yet? I recall talking to one gcc person in Sofia but it didn't sound like it's high priority.
https://github.com/llvm/llvm-project/pull/153912
More information about the cfe-commits
mailing list