[clang] [llvm] [PAC][Driver] Implement `-mbranch-protection=pauthabi` option (PR #97237)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 1 15:37:29 PDT 2024
================
@@ -1484,6 +1484,39 @@ void AddUnalignedAccessWarning(ArgStringList &CmdArgs) {
}
}
+static void handlePAuthABIOption(const ArgList &DriverArgs,
+ ArgStringList &CC1Args, const Driver &D) {
+ if (!DriverArgs.hasArg(options::OPT_fptrauth_intrinsics,
----------------
MaskRay wrote:
See addOptInFlag.
But the implementation seems quite different from the title/description.
https://github.com/llvm/llvm-project/pull/97237
More information about the cfe-commits
mailing list