summaryrefslogtreecommitdiff
path: root/lib/msan/tests
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2016-05-31 08:47:18 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2016-05-31 08:47:18 +0000
commitd560e56a512dd2fe61319cb1c58bf1940c872e48 (patch)
tree5564fe0946eea3143194b0973fb534b477f56dba /lib/msan/tests
parent31a0413a58216e891bf4dc537ea90992382e17d5 (diff)
[asan] Fix a deadlock halt_on_error-signals.c when `reporting_thread_tid_` is 0
A signal can be delivered after TryLock but before StartReporting in ScopedInErrorReport, causing a deadlock. Fixing this by statically initializing reporting_thread_tid_ to kInvalidTid. Differential Revision: http://reviews.llvm.org/D20524 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@271256 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/msan/tests')
0 files changed, 0 insertions, 0 deletions