diff --git a/compiler-rt/lib/hwasan/hwasan_interceptors.cpp b/compiler-rt/lib/hwasan/hwasan_interceptors.cpp --- a/compiler-rt/lib/hwasan/hwasan_interceptors.cpp +++ b/compiler-rt/lib/hwasan/hwasan_interceptors.cpp @@ -110,13 +110,6 @@ InternalLongjmp(env[0].__jmpbuf, val); } -// Required since glibc libpthread calls __libc_longjmp on pthread_exit, and -// _setjmp on start_thread. Hence we have to intercept the longjmp on -// pthread_exit so the __hw_jmp_buf order matches. -INTERCEPTOR(void, __libc_longjmp, __hw_jmp_buf env, int val) { - InternalLongjmp(env[0].__jmpbuf, val); -} - INTERCEPTOR(void, longjmp, __hw_jmp_buf env, int val) { InternalLongjmp(env[0].__jmpbuf, val); }