aboutsummaryrefslogtreecommitdiff
path: root/libcxx
diff options
context:
space:
mode:
authorAdvenam Tacet <advenam.tacet@trailofbits.com>2023-07-24 21:00:56 +0200
committerAdvenam Tacet <advenam.tacet@trailofbits.com>2023-07-25 04:50:09 +0200
commit3326feb39729e04b5bfdb9f87c8118573451b501 (patch)
treea6e41a68c7a0af873bc907106ae8ab4fe37a4901 /libcxx
parentcab89fe23a6b7ca18172bfc049aa0acb2255b920 (diff)
downloadllvm-3326feb39729e04b5bfdb9f87c8118573451b501.zip
llvm-3326feb39729e04b5bfdb9f87c8118573451b501.tar.gz
llvm-3326feb39729e04b5bfdb9f87c8118573451b501.tar.bz2
[NFC] Fix release notes about ASan
Existing notes were not fully correct and were missing a detail: - `std::vector` was annotated long time ago, - `std::deque` annotations are new, - now container annotations were extended to all allocators (support in ASan API exists since LLVM16). Reviewed By: philnik, #libc Differential Revision: https://reviews.llvm.org/D156162
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/docs/ReleaseNotes/17.rst11
1 files changed, 6 insertions, 5 deletions
diff --git a/libcxx/docs/ReleaseNotes/17.rst b/libcxx/docs/ReleaseNotes/17.rst
index aa51e0a..ba17911 100644
--- a/libcxx/docs/ReleaseNotes/17.rst
+++ b/libcxx/docs/ReleaseNotes/17.rst
@@ -107,8 +107,9 @@ Improvements and New Features
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 container annotations have been extended to cover all allocators in ``std::vector``.
+
+- ASan annotations have been added to the ``std::deque`` container, to detect container overflows.
Deprecations and Removals
-------------------------
@@ -203,9 +204,9 @@ LLVM 18
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