Skip to content

Commit 3326feb

Browse files
author
Advenam Tacet
committedJul 25, 2023
[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
1 parent cab89fe commit 3326feb

File tree

1 file changed

+6
-5
lines changed
  • libcxx/docs/ReleaseNotes

1 file changed

+6
-5
lines changed
 

‎libcxx/docs/ReleaseNotes/17.rst

+6-5
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,9 @@ Improvements and New Features
107107
Users can control whether the debug mode is enabled on a per translation unit basis using the
108108
``-D_LIBCPP_ENABLE_DEBUG_MODE=1`` macro. See ``libcxx/docs/Hardening.rst`` for more details.
109109

110-
- ASAN annotations to detect container overflow have been added to the
111-
containers ``std::deque``, and ``std::vector``.
110+
- ASan container annotations have been extended to cover all allocators in ``std::vector``.
111+
112+
- ASan annotations have been added to the ``std::deque`` container, to detect container overflows.
112113

113114
Deprecations and Removals
114115
-------------------------
@@ -203,9 +204,9 @@ LLVM 18
203204

204205
API Changes
205206
-----------
206-
- Added ``__asan_annotate_container_with_allocator``, which is is a
207-
customization point to allow users to disable Address Sanitizer annotations
208-
for containers for specific allocators. See :ref:`turning-off-asan` for more
207+
- Added ``__asan_annotate_container_with_allocator``, which is a
208+
customization point to allow users to disable Address Sanitizer container annotations
209+
for specific allocators. See :ref:`turning-off-asan` for more
209210
information.
210211

211212
ABI Affecting Changes

0 commit comments

Comments
 (0)
Please sign in to comment.