diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2018-04-27 08:59:35 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2018-04-27 08:59:35 +0000 |
commit | 21dc68fe7b4cd06b2ac194a66467352ddc2c4ecb (patch) | |
tree | ec16602c6cc40f9d020809100abf002d444fc1cc /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 1956a48d273dca31d379b3b032bf772040d3c93d (diff) | |
download | llvm-21dc68fe7b4cd06b2ac194a66467352ddc2c4ecb.zip llvm-21dc68fe7b4cd06b2ac194a66467352ddc2c4ecb.tar.gz llvm-21dc68fe7b4cd06b2ac194a66467352ddc2c4ecb.tar.bz2 |
tsan: improve "destroy of a locked mutex" reports
1. Allow to suppress by current stack.
We generally allow to suppress by all main stacks.
Current is probably the stack one wants to use to
suppress such reports.
2. Fix last lock stack restoration.
We trimmed shadow value by storing it in u32.
This magically worked for the test that provoked
the report on the main thread. But this breaks
for locks in any other threads.
llvm-svn: 331023
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions