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 @@ -107,8 +107,10 @@ Users can control whether the debug mode is enabled on a per translation unit basis using the ``-D_LIBCPP_ENABLE_DEBUG_MODE=1`` macro. See ``libcxx/docs/Hardening.rst`` for more details. -- ASAN annotations to detect container overflow have been added to the - containers ``std::deque``, and ``std::vector``. +- ASan annotations have been added to the ``std::deque`` container, to detect container overflows. + Additionally, container annotations have been extended to cover all allocators by default in ``std::vector`` + (buffer alignment is no longer a requirement). If you wish to disable annotations + for a particular allocator, you can refer to the details in :ref:`turning-off-asan`. Deprecations and Removals ------------------------- @@ -203,9 +205,9 @@ API Changes ----------- -- Added ``__asan_annotate_container_with_allocator``, which is is a - customization point to allow users to disable Address Sanitizer annotations - for containers for specific allocators. See :ref:`turning-off-asan` for more +- Added ``__asan_annotate_container_with_allocator``, which is a + customization point to allow users to disable Address Sanitizer container annotations + for specific allocators. See :ref:`turning-off-asan` for more information. ABI Affecting Changes