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

Devin Coughlin via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 26 16:27:48 PST 2024


================
@@ -7730,6 +7730,14 @@ def source_date_epoch : Separate<["-"], "source-date-epoch">,
 
 } // let Visibility = [CC1Option]
 
+def stdlib_hardening_EQ : Joined<["-"], "fstdlib-hardening=">,
----------------
devincoughlin wrote:

With the name `stdlib_hardening`, are we worried that users might think it applies to the C standard library as well? Should the name imply that this is only for C++?

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


More information about the cfe-commits mailing list