Skip to content

Commit c65d48d

Browse files
[libc++] Add details about string annotations (#82730)
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 Upstreamed in: 7661ade Upstream PR: #80912 --------- Co-authored-by: Mark de Wever <[email protected]> Co-authored-by: Mark de Wever <[email protected]>
1 parent 4ba68ab commit c65d48d

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

libcxx/docs/ReleaseNotes/18.rst

Lines changed: 2 additions & 0 deletions
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)