forked from OSchip/llvm-project
[asan] Disable glibc-specific code chunk on Android.
Fixes quarantine_size_mb.cc test on the Android bot. llvm-svn: 240854
This commit is contained in:
parent
d3da8caf67
commit
2f58bb6a34
|
@ -1000,7 +1000,7 @@ void *internal_start_thread(void(*func)(void *arg), void *arg) {
|
|||
// Start the thread with signals blocked, otherwise it can steal user signals.
|
||||
__sanitizer_sigset_t set, old;
|
||||
internal_sigfillset(&set);
|
||||
#if SANITIZER_LINUX
|
||||
#if SANITIZER_LINUX && !SANITIZER_ANDROID
|
||||
// Glibc uses SIGSETXID signal during setuid call. If this signal is blocked
|
||||
// on any thread, setuid call hangs (see test/tsan/setuid.c).
|
||||
internal_sigdelset(&set, 33);
|
||||
|
|
Loading…
Reference in New Issue