From: Dmitry Vyukov Date: Thu, 21 Mar 2013 12:44:44 +0000 (+0000) Subject: tsan: remove bogus CHECK X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6911a7f1d123a88e6302481c0603cc02aee41130;p=platform%2Fupstream%2Fllvm.git tsan: remove bogus CHECK Asynchronous signal (e.g. SIGABRT) can be received with any value of in_rtl. llvm-svn: 177636 --- diff --git a/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc b/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc index c122e4f..5dc4497 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);