[clang] [llvm] [PAC][Driver] Implement `-mbranch-protection=pauthabi` option (PR #97237)

Peter Smith via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 2 07:08:46 PDT 2024


================
@@ -1484,6 +1484,39 @@ void AddUnalignedAccessWarning(ArgStringList &CmdArgs) {
 }
 }
 
+static void handlePAuthABIOption(const ArgList &DriverArgs,
----------------
smithp35 wrote:

I think it will be worth a comment above and possibly inline explaining the ABI implications of the options.

For example:
```
Each combination of options here forms a signing schema, and in most cases each signing schema is its own incompatible ABI. The default values of the options represent the default signing schema.
```



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


More information about the cfe-commits mailing list