================
@@ -1883,6 +1883,9 @@ void Clang::AddAArch64TargetArgs(const ArgList &Args,
Args.addOptInFlag(
CmdArgs, options::OPT_fptrauth_function_pointer_type_discrimination,
options::OPT_fno_ptrauth_function_pointer_type_discrimination);
+ Args.addOptInFlag(
----------------
ojhunt wrote:
there's apple kernel flags in this function, but it looks like darwin args are
actually set up in `Toolchains/Darwin.cpp` - can the apple invocation paths hit
this? if not I think it's worth just having this as an opt out rather than an
opt in. We might be constrained by ABI, but I don't think you have any reason
to restrict this.
My request for a cli/langopt was so that we can stick with our existing ABI if
need be, not because I thought you couldn't do this :D
https://github.com/llvm/llvm-project/pull/140276
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits