[libcxx-commits] [PATCH] D145628: [ASan][libcxx] A way to turn off annotations for containers with a specific allocator
Hans Wennborg via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Apr 3 01:30:06 PDT 2023
hans accepted this revision.
hans added a comment.
In D145628#4238358 <https://reviews.llvm.org/D145628#4238358>, @AdvenamTacet wrote:
> This update:
>
> - adds `_LIBCPP_HAS_ASAN_CONTAINER_ANNOTATIONS_FOR_ALL_ALLOCATORS` FTM,
> - updates the description,
> - updates the example.
>
> As discussed on Discord, #libcxx.
>
> @hans I hope this also answers your concerns.
Yes it does. Thanks!
================
Comment at: libcxx/docs/UsingLibcxx.rst:538
+ template <class T>
+ struct std::__asan_annotate_container_with_allocator<user_allocator<T>> : false_type {};
+ #endif
----------------
Should it be `std::false_type`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145628/new/
https://reviews.llvm.org/D145628
More information about the libcxx-commits
mailing list