[llvm] [libcxx] [libc++][hardening] Rework macros for enabling the hardening mode. (PR #70575)
Louis Dionne via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 2 12:50:13 PDT 2023
================
@@ -730,14 +727,14 @@ typedef __char32_t char32_t;
# define _LIBCPP_EXCLUDE_FROM_EXPLICIT_INSTANTIATION _LIBCPP_ALWAYS_INLINE
# endif
-# if _LIBCPP_ENABLE_HARDENED_MODE
+# if _LIBCPP_HARDENING_MODE == _LIBCPP_HARDENING_MODE_FAST
# define _LIBCPP_HARDENING_SIG h
----------------
ldionne wrote:
We could change those to be in-line with the new names -- there's no need to keep those stable.
https://github.com/llvm/llvm-project/pull/70575
More information about the llvm-commits
mailing list