[clang] Add option -fstdlib-hardening= (PR #78763)

Sam James via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 19 23:44:42 PST 2024


thesamesam wrote:

> No other thoughts for now. GCC has `-fhardened` now, which already defines that macro. This seems kinda redundant with it.

Yes, please, unless there's a strong reason not to, consider `-fhardened`. Otherwise we may as well just be telling people to set `-D...` themselves.


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


More information about the cfe-commits mailing list