forked from OSchip/llvm-project
[asan] Disable qsort interceptor on Android.
The interceptor uses thread-local variables, which (until very recently) are emu-tls. An access to such variable may call malloc which can deadlock the runtime library.
This commit is contained in:
parent
4f3c3bbbf8
commit
f69c83645b
|
|
@ -594,7 +594,7 @@
|
|||
#define SANITIZER_INTERCEPT_PTHREAD_ATFORK SI_NETBSD
|
||||
#define SANITIZER_INTERCEPT_GETENTROPY SI_FREEBSD
|
||||
#define SANITIZER_INTERCEPT_QSORT \
|
||||
(SI_POSIX && !SI_IOSSIM && !SI_WATCHOS && !SI_TVOS)
|
||||
(SI_POSIX && !SI_IOSSIM && !SI_WATCHOS && !SI_TVOS && !SI_ANDROID)
|
||||
#define SANITIZER_INTERCEPT_QSORT_R (SI_LINUX && !SI_ANDROID)
|
||||
#define SANITIZER_INTERCEPT_SIGALTSTACK SI_POSIX
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue