================
@@ -1528,6 +1528,9 @@ static void InitializePredefinedMacros(const TargetInfo 
&TI,
 #undef TARGET_OS
   }
 
+  if (LangOpts.PointerAuthIntrinsics)
+    Builder.defineMacro("__PTRAUTH__");
----------------
cor3ntin wrote:

there is also __ARM_FEATURE_PAC_DEFAULT, apparently. But this seems fairly 
target-related.
I'm fine with "__PTRAUTH__" (or `__PTRAUTH`)

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

Reply via email to