forked from OSchip/llvm-project
[tsan] Remove pthread_exit interceptor
Crashes PPC bot llvm-svn: 353604
This commit is contained in:
parent
6e679f8ba5
commit
2abcb30f8c
|
@ -1050,13 +1050,6 @@ TSAN_INTERCEPTOR(int, pthread_detach, void *th) {
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue