[libcxx-commits] [libcxx] [llvm] [libc++][hardening] Rework macros for enabling the hardening mode. (PR #70575)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 31 13:51:05 PDT 2023


================
@@ -35,9 +35,7 @@ if (current_toolchain == default_toolchain) {
       "_LIBCPP_HAS_NO_WIDE_CHARACTERS=",
       "_LIBCPP_HAS_NO_STD_MODULES=",
       "_LIBCPP_ABI_DEFINES=",
-      "_LIBCPP_ENABLE_DEBUG_MODE_DEFAULT=",
-      "_LIBCPP_ENABLE_HARDENED_MODE_DEFAULT=",
-      "_LIBCPP_ENABLE_SAFE_MODE_DEFAULT=",
+      "_LIBCPP_HARDENING_MODE_DEFAULT=",
----------------
ldionne wrote:

I think we normally let the gn folks fix their integration however they see fit. I know they have some automation around that so I would recommend not touching anything here to avoid stepping on their toes. Heads up @nico I think you folks will need to do something here though.

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


More information about the libcxx-commits mailing list