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

Daniil Kovalev via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Dec 16 00:32:11 PST 2024


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

@MaskRay Applied your suggestion in 346d1ef9d0d638ddda2b48a9c629f24a4385df02

> I'm afraid that you missed the point. Keep the code in Clang.cpp but do the following
> 
> ```
> // Clang.cpp
> if (Linux pauth abi or isDarwin) {
>   claim these pauth options
> }
> ```



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


More information about the llvm-branch-commits mailing list