[compiler-rt] r177636 - tsan: remove bogus CHECK

Dmitry Vyukov dvyukov at google.com
Thu Mar 21 05:44:45 PDT 2013


Author: dvyukov
Date: Thu Mar 21 07:44:44 2013
New Revision: 177636

URL: http://llvm.org/viewvc/llvm-project?rev=177636&view=rev
Log:
tsan: remove bogus CHECK
Asynchronous signal (e.g. SIGABRT) can be received with any value of in_rtl.


Modified:
    compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc

Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc?rev=177636&r1=177635&r2=177636&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc Thu Mar 21 07:44:44 2013
@@ -1580,7 +1580,6 @@ static void ALWAYS_INLINE rtl_generic_si
       // (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);





More information about the llvm-commits mailing list