aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Frontend/plugin-annotate-functions.c
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2016-04-04 10:52:59 +0000
committerDmitry Vyukov <dvyukov@google.com>2016-04-04 10:52:59 +0000
commit0d9b7bc9ad0b620dde5020cb046dcdd5c437a4b8 (patch)
treed11af20b226e93ddc1dfa1164250033f4477ff37 /clang/test/Frontend/plugin-annotate-functions.c
parent20dfd778264a680cf46e24b7457b8b797e7987cb (diff)
downloadllvm-0d9b7bc9ad0b620dde5020cb046dcdd5c437a4b8.zip
llvm-0d9b7bc9ad0b620dde5020cb046dcdd5c437a4b8.tar.gz
llvm-0d9b7bc9ad0b620dde5020cb046dcdd5c437a4b8.tar.bz2
tsan: fix ignore handling in signal handlers
We've reset thr->ignore_reads_and_writes, but forget to do thr->fast_state.ClearIgnoreBit(). So ignores were not effective reset and fast_state.ignore_bit was corrupted if signal handler itself uses ignores. Properly reset/restore fast_state.ignore_bit around signal handlers. llvm-svn: 265288
Diffstat (limited to 'clang/test/Frontend/plugin-annotate-functions.c')
0 files changed, 0 insertions, 0 deletions