[clang] [Offload] Do not pass `-fcf-protection=` for offloading (PR #88402)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 12 11:36:42 PDT 2024


jhuber6 wrote:

I'm wondering if it would be better to make this something that the toolchains handle in `TranslateArgs`. That way we can prevent it from being added at all. Although I don't know how that would allow us to override stuff. There's not really a way to "override" flags like this if we ignore it at all. We could "assume" that if someone does `-Xarch_device -foo` they want the device to use it, but that's not really what the flag means.

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


More information about the cfe-commits mailing list