diff --git a/libcxx/docs/ReleaseNotes/17.rst b/libcxx/docs/ReleaseNotes/17.rst --- a/libcxx/docs/ReleaseNotes/17.rst +++ b/libcxx/docs/ReleaseNotes/17.rst @@ -87,9 +87,6 @@ ``std::ranges::find`` are now forwarding to ``std::memcmp`` for trivially equality comparable types, which can lead up to 40x performance improvements. -- ``std::string_view`` now provides iterators that check for out-of-bounds accesses when the safe - libc++ mode is enabled. - - The performance of ``dynamic_cast`` on its hot paths is greatly improved and is as efficient as the ``libsupc++`` implementation. Note that the performance improvements are shipped in ``libcxxabi``. @@ -128,14 +125,8 @@ Deprecations and Removals ------------------------- -- The "safe" mode is replaced by the hardened mode in this release. The ``LIBCXX_ENABLE_ASSERTIONS`` CMake variable is - deprecated and setting it will trigger an error; use ``LIBCXX_HARDENING_MODE`` instead. Similarly, the - ``_LIBCPP_ENABLE_ASSERTIONS`` macro is deprecated and setting it to ``1`` now enables the hardened mode. See - ``libcxx/docs/Hardening.rst`` for more details. - -- The legacy debug mode has been removed in this release. Setting the macro ``_LIBCPP_ENABLE_DEBUG_MODE`` to ``1`` now - enables the new debug mode which is part of hardening (see the "Improvements and New Features" section above). The - ``LIBCXX_ENABLE_DEBUG_MODE`` CMake variable has been removed. For additional context, refer to the `Discourse post +- The legacy debug mode has been removed in this release. The ``LIBCXX_ENABLE_DEBUG_MODE`` CMake variable has been + removed. For additional context, refer to the `Discourse post `_. - The ```` header has been removed in this release. The ```` header diff --git a/libcxx/docs/ReleaseNotes/18.rst b/libcxx/docs/ReleaseNotes/18.rst --- a/libcxx/docs/ReleaseNotes/18.rst +++ b/libcxx/docs/ReleaseNotes/18.rst @@ -35,6 +35,15 @@ What's New in Libc++ 18.0.0? ============================== +- The "safe" mode is replaced by the hardened mode in this release. The + ``LIBCXX_ENABLE_ASSERTIONS`` CMake variable is deprecated and setting it will + trigger an error; use ``LIBCXX_HARDENING_MODE`` instead. Similarly, the + ``_LIBCPP_ENABLE_ASSERTIONS`` macro is deprecated and setting it to ``1`` now + enables the hardened mode. See ``libcxx/docs/Hardening.rst`` for more details. + +- A new debug mode has been added, replacing the legacy debug mode that was + removed in the LLVM 17 release. See ``libcxx/docs/Hardening.rst`` for more + details. Implemented Papers ------------------