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

Konstantin Varlamov via libcxx-commits libcxx-commits at lists.llvm.org
Sat Oct 28 14:45:53 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=",
----------------
var-const wrote:

I presume it's good to fix this in the same patch?

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


More information about the libcxx-commits mailing list