[libcxx-commits] [libcxx] [libc++][hardening] Undeprecate safe mode (PR #68391)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Oct 6 05:44:45 PDT 2023
================
@@ -63,10 +57,9 @@ Improvements and New Features
enabled on a per translation unit basis using the ``-D_LIBCPP_ENABLE_HARDENED_MODE=1`` macro. See
:ref:`the hardening documentation <using-hardening-modes>` for more details.
-- The safe mode is now a part of hardening modes. Vendors can configure whether the safe mode is enabled by default
- with the ``LIBCXX_HARDENING_MODE`` variable at CMake configuration time. Users can control whether the safe mode
- is enabled on a per translation unit basis using the ``-D_LIBCPP_ENABLE_SAFE_MODE=1`` macro. The
- ``_LIBCPP_ENABLE_ASSERTIONS`` macro that was previously used to enable the safe mode is now deprecated. See
+- The safe mode is now also a part of hardening modes. Vendors can configure whether the safe mode is enabled by
----------------
ldionne wrote:
Since we are not changing the safe mode (from the users perspective), why don't we avoid having a release note about it altogether? This release note seems to add more confusion than anything (also I think it's wrong, I don't think `_LIBCPP_ENABLE_SAFE_MODE` exists).
https://github.com/llvm/llvm-project/pull/68391
More information about the libcxx-commits
mailing list