mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 16:56:35 +00:00
[sanitizer] [Darwin] Disable InstallAtForkHandler
This is a followup to d01be3c63109986627c1c029d6d0130f76a63a2f.
This commit is contained in:
parent
6c1f56fdb5
commit
2a03854e4c
@ -149,7 +149,7 @@ void PlatformTSDDtor(void *tsd) {
|
||||
#endif
|
||||
|
||||
void InstallAtForkHandler() {
|
||||
# if SANITIZER_SOLARIS || SANITIZER_NETBSD
|
||||
# if SANITIZER_SOLARIS || SANITIZER_NETBSD || SANITIZER_APPLE
|
||||
return; // FIXME: Implement FutexWait.
|
||||
# endif
|
||||
auto before = []() {
|
||||
|
@ -101,7 +101,7 @@ void InstallAtExitCheckLeaks() {
|
||||
}
|
||||
|
||||
void InstallAtForkHandler() {
|
||||
# if SANITIZER_SOLARIS || SANITIZER_NETBSD
|
||||
# if SANITIZER_SOLARIS || SANITIZER_NETBSD || SANITIZER_APPLE
|
||||
return; // FIXME: Implement FutexWait.
|
||||
# endif
|
||||
auto before = []() {
|
||||
|
@ -15,6 +15,7 @@
|
||||
// FIXME: Requires `FutexWait` implementation. See __asan::InstallAtForkHandler.
|
||||
// UNSUPPORTED: target={{.*solaris.*}}
|
||||
// UNSUPPORTED: target={{.*netbsd.*}}
|
||||
// UNSUPPORTED: target={{.*apple.*}}
|
||||
|
||||
// Forking in multithread environment is unsupported. However we already have
|
||||
// some workarounds, and will add more, so this is the test.
|
||||
|
Loading…
x
Reference in New Issue
Block a user