aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-04-27 08:59:35 +0000
committerDmitry Vyukov <dvyukov@google.com>2018-04-27 08:59:35 +0000
commit21dc68fe7b4cd06b2ac194a66467352ddc2c4ecb (patch)
treeec16602c6cc40f9d020809100abf002d444fc1cc /clang/lib/Frontend/CompilerInvocation.cpp
parent1956a48d273dca31d379b3b032bf772040d3c93d (diff)
downloadllvm-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