[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
Sat Dec 7 11:02:05 PST 2024


================
@@ -543,12 +543,59 @@ static void handlePAuthABI(const Driver &D, const ArgList &DriverArgs,
     CC1Args.push_back("-faarch64-jump-table-hardening");
 }
 
+static void addPointerAuthFlags(const llvm::opt::ArgList &DriverArgs,
----------------
MaskRay wrote:

There is a lot of duplication with Darwin.cpp.  Should be moved to CommonArgs.cpp

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


More information about the llvm-branch-commits mailing list