Skip to content

Commit 7661ade

Browse files
Tacetmordante
Tacet
andauthoredFeb 20, 2024··
[libc++] Add details about string annotations (#80912)
This commit adds information that only long strings are annotated, and with all allocators by default. To read why short string annotations are not turned on yet, read comments in a related PR: #79536 --------- Co-authored-by: Mark de Wever <[email protected]>
1 parent 2dfa30d commit 7661ade

File tree

1 file changed

+2
-0
lines changed
  • libcxx/docs/ReleaseNotes

1 file changed

+2
-0
lines changed
 

‎libcxx/docs/ReleaseNotes/18.rst

+2
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ Improvements and New Features
125125
``${PREFIX}/share/libc++/v1``.
126126

127127
- AddressSanitizer annotations have been added to ``std::basic_string``.
128+
These annotations are enabled for all allocators by default.
129+
It's only enabled for long strings, strings using the small buffer optimization are not annotated.
128130

129131
- The libc++ source code has been formatted with ``clang-format``. This
130132
`discourse thread <https://discourse.llvm.org/t/rfc-clang-formatting-all-of-libc-once-and-for-all>`_

0 commit comments

Comments
 (0)
Please sign in to comment.