[llvm-branch-commits] [clang] [PAC][Driver] Support ptrauth flags only on ARM64 Darwin or with pauthtest ABI (PR #113152)
Fangrui Song via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Dec 8 16:39:27 PST 2024
================
@@ -1808,34 +1808,6 @@ void Clang::AddAArch64TargetArgs(const ArgList &Args,
AddUnalignedAccessWarning(CmdArgs);
- Args.addOptInFlag(CmdArgs, options::OPT_fptrauth_intrinsics,
----------------
MaskRay wrote:
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