Author: Tacet Date: 2024-02-23T13:06:47-08:00 New Revision: c65d48da924b850d4f6b72243f0ef932b499c825
URL: https://github.com/llvm/llvm-project/commit/c65d48da924b850d4f6b72243f0ef932b499c825 DIFF: https://github.com/llvm/llvm-project/commit/c65d48da924b850d4f6b72243f0ef932b499c825.diff LOG: [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: https://github.com/llvm/llvm-project/pull/79536 Upstreamed in: 7661ade5d1ac4fc8e1e2339b2476cb8e45c24641 Upstream PR: #80912 --------- Co-authored-by: Mark de Wever <zar-...@xs4all.nl> Co-authored-by: Mark de Wever <zar-...@xs4all.nl> Added: Modified: libcxx/docs/ReleaseNotes/18.rst Removed: ################################################################################ diff --git a/libcxx/docs/ReleaseNotes/18.rst b/libcxx/docs/ReleaseNotes/18.rst index 391e0ebc52a428..7ea13e6943dd4c 100644 --- a/libcxx/docs/ReleaseNotes/18.rst +++ b/libcxx/docs/ReleaseNotes/18.rst @@ -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>`_ _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits