Skip to content

Commit

Permalink
[libc++] Add details about string annotations (llvm#80912)
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: llvm#79536

---------

Co-authored-by: Mark de Wever <[email protected]>
  • Loading branch information
Tacet and mordante authored Feb 20, 2024
1 parent 2dfa30d commit 7661ade
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 7661ade

Please sign in to comment.