From 0285388fda81cb4db349b42b706858a7607ae4b8 Mon Sep 17 00:00:00 2001 From: Tacet Date: Tue, 20 Feb 2024 07:20:21 +0100 Subject: [PATCH] [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: https://github.com/llvm/llvm-project/pull/79536 --------- Co-authored-by: Mark de Wever NOKEYCHECK=True GitOrigin-RevId: 7661ade5d1ac4fc8e1e2339b2476cb8e45c24641 --- docs/ReleaseNotes/18.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/ReleaseNotes/18.rst b/docs/ReleaseNotes/18.rst index 80b42ad7f..fcd630e09 100644 --- a/docs/ReleaseNotes/18.rst +++ b/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 `_