Skip to content

Commit

Permalink
[libc++] Add details about string annotations (#82730)
Browse files Browse the repository at this point in the history
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 <zar-rpg@xs4all.nl>

Co-authored-by: Mark de Wever <zar-rpg@xs4all.nl>
  • Loading branch information
AdvenamTacet and mordante authored Feb 23, 2024
1 parent 4ba68ab commit c65d48d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libcxx/docs/ReleaseNotes/18.rst
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ Improvements and New Features
``${PREFIX}/share/libc++/v1``.

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

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

0 comments on commit c65d48d

Please sign in to comment.