diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2013-03-21 12:44:44 +0000 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2013-03-21 12:44:44 +0000 |
| commit | 6911a7f1d123a88e6302481c0603cc02aee41130 (patch) | |
| tree | 584c04058d37243dde1ce4bcf69c31e65d55f1a6 | |
| parent | 547a9f52647cdbdec0315054f9952bdef18836c6 (diff) | |
| download | bcm5719-llvm-6911a7f1d123a88e6302481c0603cc02aee41130.tar.gz bcm5719-llvm-6911a7f1d123a88e6302481c0603cc02aee41130.zip | |
tsan: remove bogus CHECK
Asynchronous signal (e.g. SIGABRT) can be received with any value of in_rtl.
llvm-svn: 177636
| -rw-r--r-- | compiler-rt/lib/tsan/rtl/tsan_interceptors.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc b/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc index c122e4f6826..5dc4497879d 100644 --- a/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc +++ b/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc @@ -1580,7 +1580,6 @@ static void ALWAYS_INLINE rtl_generic_sighandler(bool sigact, int sig, // (but check if we are in a recursive interceptor, // i.e. pthread_join()->munmap()). (sctx && sctx->in_blocking_func == 1 && thr->in_rtl == 1)) { - CHECK(thr->in_rtl == 0 || thr->in_rtl == 1); int in_rtl = thr->in_rtl; thr->in_rtl = 0; CHECK_EQ(thr->in_signal_handler, false); |

