[clang] Add option -fstdlib-hardening= (PR #78763)
Konstantin Varlamov via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 26 21:13:29 PST 2024
var-const wrote:
> Yes, please, unless there's a strong reason not to, consider `-fhardened`.
`-fhardened` also enables a few compiler flags. I think it would be better to have a separate flag that only affects the library and hopefully in the future start supporting `-fhardened` flag that would have an aligned behavior between GCC and Clang (including enabling equivalent compiler flags where possible).
https://github.com/llvm/llvm-project/pull/78763
More information about the cfe-commits
mailing list