[libcxx-commits] [PATCH] D136765: [ASan][libcxx] Annotating std::vector with all allocators
Tacet via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Mar 8 17:59:11 PST 2023
AdvenamTacet updated this revision to Diff 503582.
AdvenamTacet added a comment.
This update includes change from D145628 <https://reviews.llvm.org/D145628> and adds an easy way to turn off annotations for a specific allocator.
It also adds a test for that change, based on failing example showed above.
I still consider unpoisoning memory as a superior choice, but if it's impossible in some situations (like using allocator mantained by someone else), now it should be easy to turn off annotations for a specific allocator.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136765/new/
https://reviews.llvm.org/D136765
Files:
libcxx/include/vector
libcxx/test/libcxx/containers/sequences/vector/asan.pass.cpp
libcxx/test/libcxx/containers/sequences/vector/no_asan.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136765.503582.patch
Type: text/x-patch
Size: 8411 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230309/d5428429/attachment-0001.bin>
More information about the libcxx-commits
mailing list