================ @@ -1528,6 +1528,9 @@ static void InitializePredefinedMacros(const TargetInfo &TI, #undef TARGET_OS } + if (LangOpts.PointerAuthIntrinsics) + Builder.defineMacro("__PTRAUTH__"); ---------------- AaronBallman wrote:
I'm happy with `__PTRAUTH__`; do we want it to expand to a particular value so we can change the value to have the macro mean a different feature set is enabled? https://github.com/llvm/llvm-project/pull/153912 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits