Skip to content

Commit 0285388

Browse files
Tacetmordante
authored andcommitted
[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: llvm/llvm-project#79536 --------- Co-authored-by: Mark de Wever <[email protected]> NOKEYCHECK=True GitOrigin-RevId: 7661ade5d1ac4fc8e1e2339b2476cb8e45c24641
1 parent d3a59f7 commit 0285388

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)