[libcxx-commits] [libcxx] [llvm] [libcxx] Remove ASan container overflow checks for SSO strings (PR #194208)

Nikita Belenkiy via libcxx-commits libcxx-commits at lists.llvm.org
Mon May 4 14:46:39 PDT 2026


kitsnet wrote:

> > OK, then people shall also avoid, for example, putting the buffer for monotonic_buffer_resource into a variant (or we should disable __asan_annotate_container_with_allocator for polymorphic_allocator ). Although this is an exotic case.
> 
> I don't think `monotonic_buffer_resource` has any asan container overflow annotations, which are the actual problem here.

It's a resource that can be used in `std::pmr::vector`, which has such annotations,

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


More information about the libcxx-commits mailing list