diff options
author | Alex Shlyapnikov <alekseys@google.com> | 2017-12-06 19:12:57 +0000 |
---|---|---|
committer | Alex Shlyapnikov <alekseys@google.com> | 2017-12-06 19:12:57 +0000 |
commit | e85b4df43555de77d6fdb9fbe182fda4278d3aad (patch) | |
tree | 5fc624a452f330acc24b664b75451c1a5bc047d6 /llvm/lib/Object/COFFModuleDefinition.cpp | |
parent | 1ea7b6f7a1944a3c112261ae63005815873ff8e0 (diff) | |
download | llvm-e85b4df43555de77d6fdb9fbe182fda4278d3aad.zip llvm-e85b4df43555de77d6fdb9fbe182fda4278d3aad.tar.gz llvm-e85b4df43555de77d6fdb9fbe182fda4278d3aad.tar.bz2 |
[TSan] Make more TSan interceptors symbolizer-aware.
Summary:
Switching the rest of intercepted allocs to InternalAlloc (well, except
__libc_memalign) when current thread is 'in_symbolizer'. Symbolizer
might (and does) use allocation functions other than malloc/calloc/realloc.
posix_memalign is the one actually used, others switched just in case
(since the failure is obscure and not obvious to diagnose).
Reviewers: dvyukov
Subscribers: llvm-commits, kubamracek
Differential Revision: https://reviews.llvm.org/D40877
llvm-svn: 319929
Diffstat (limited to 'llvm/lib/Object/COFFModuleDefinition.cpp')
0 files changed, 0 insertions, 0 deletions