projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
547a9f5
)
tsan: remove bogus CHECK
author
Dmitry Vyukov
<dvyukov@google.com>
Thu, 21 Mar 2013 12:44:44 +0000
(12:44 +0000)
committer
Dmitry Vyukov
<dvyukov@google.com>
Thu, 21 Mar 2013 12:44:44 +0000
(12:44 +0000)
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
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
b/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
index
c122e4f
..
5dc4497
100644
(file)
--- 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);