From 6911a7f1d123a88e6302481c0603cc02aee41130 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 21 Mar 2013 12:44:44 +0000 Subject: [PATCH] tsan: remove bogus CHECK Asynchronous signal (e.g. SIGABRT) can be received with any value of in_rtl. llvm-svn: 177636 --- compiler-rt/lib/tsan/rtl/tsan_interceptors.cc | 1 - 1 file changed, 1 deletion(-) 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); -- 2.7.4