diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2013-10-03 13:37:17 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2013-10-03 13:37:17 +0000 |
commit | 5ba736457c94580b9cf8a0a65fccf9a89da0b1a6 (patch) | |
tree | afa352b57a63c0e8b42932077375b7c6310a3515 /llvm/lib/MC/MCDisassembler/Disassembler.cpp | |
parent | d2757ba1be2915c8f41dd850ffdda8ff6a673382 (diff) | |
download | llvm-5ba736457c94580b9cf8a0a65fccf9a89da0b1a6.zip llvm-5ba736457c94580b9cf8a0a65fccf9a89da0b1a6.tar.gz llvm-5ba736457c94580b9cf8a0a65fccf9a89da0b1a6.tar.bz2 |
tsan: ignore interceptors coming from specified libraries
LibIgnore allows to ignore all interceptors called from a particular set
of dynamic libraries. LibIgnore remembers all "called_from_lib" suppressions
from the provided SuppressionContext; finds code ranges for the libraries;
and checks whether the provided PC value belongs to the code ranges.
Also make malloc and friends interceptors use SCOPED_INTERCEPTOR_RAW instead of
SCOPED_TSAN_INTERCEPTOR, because if they are called from an ignored lib,
then must call our internal allocator instead of libc malloc.
llvm-svn: 191897
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions