[compiler-rt] r353604 - [tsan] Remove pthread_exit interceptor

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 9 01:58:57 PST 2019


Author: vitalybuka
Date: Sat Feb  9 01:58:57 2019
New Revision: 353604

URL: http://llvm.org/viewvc/llvm-project?rev=353604&view=rev
Log:
[tsan] Remove pthread_exit interceptor

Crashes PPC bot

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=353604&r1=353603&r2=353604&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc Sat Feb  9 01:58:57 2019
@@ -1050,13 +1050,6 @@ TSAN_INTERCEPTOR(int, pthread_detach, vo
   return res;
 }
 
-TSAN_INTERCEPTOR(void, pthread_exit, void *retval) {
-  {
-    SCOPED_INTERCEPTOR_RAW(pthread_exit, retval);
-  }
-  REAL(pthread_exit)(retval);
-}
-
 #if SANITIZER_LINUX
 TSAN_INTERCEPTOR(int, pthread_tryjoin_np, void *th, void **ret) {
   SCOPED_TSAN_INTERCEPTOR(pthread_tryjoin_np, th, ret);
@@ -2671,7 +2664,6 @@ void InitializeInterceptors() {
   TSAN_INTERCEPT(pthread_create);
   TSAN_INTERCEPT(pthread_join);
   TSAN_INTERCEPT(pthread_detach);
-  TSAN_INTERCEPT(pthread_exit);
   #if SANITIZER_LINUX
   TSAN_INTERCEPT(pthread_tryjoin_np);
   TSAN_INTERCEPT(pthread_timedjoin_np);




More information about the llvm-commits mailing list