[libcxx-commits] [libcxx] [libc++] Add details about string annotations (PR #80912)

via libcxx-commits libcxx-commits at lists.llvm.org
Sat Feb 17 05:46:39 PST 2024


================
@@ -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 enable for long string, string using the small buffer optimization are not annotated.
----------------
AdvenamTacet wrote:

```suggestion
  It's only enabled for long strings, strings using the small buffer optimization are not annotated.
```

https://github.com/llvm/llvm-project/pull/80912


More information about the libcxx-commits mailing list