[llvm-branch-commits] [clang] [PAC][Driver] Support ptrauth flags only on ARM64 Darwin or with pauthtest ABI (PR #113152)

Anton Korobeynikov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Dec 8 16:44:45 PST 2024


================
@@ -1808,34 +1808,6 @@ void Clang::AddAArch64TargetArgs(const ArgList &Args,
 
   AddUnalignedAccessWarning(CmdArgs);
 
-  Args.addOptInFlag(CmdArgs, options::OPT_fptrauth_intrinsics,
----------------
asl wrote:

@MaskRay This would explicitly require adding each platform that would want to add pauth here. I don't think this is something desired (do we really want to add further, say, OpenBSD, FreeBSD and other platforms in the condition?)

https://github.com/llvm/llvm-project/pull/113152


More information about the llvm-branch-commits mailing list