| Index: src/platform-posix.cc
|
| diff --git a/src/platform-posix.cc b/src/platform-posix.cc
|
| index 797557d76f830cde51cb37943edce6f5d6f3504b..1fb4a84f1308ba3738a4c9bd9725e741c1f5767f 100644
|
| --- a/src/platform-posix.cc
|
| +++ b/src/platform-posix.cc
|
| @@ -207,6 +207,11 @@ void* OS::GetRandomMmapAddr() {
|
| // See http://code.google.com/p/nativeclient/issues/3341
|
| return NULL;
|
| #endif
|
| +#if defined(ADDRESS_SANITIZER) || defined(MEMORY_SANITIZER) ||\
|
| + defined(THREAD_SANITIZER)
|
| + // Dynamic tools do not support custom mmap addresses.
|
| + return NULL;
|
| +#endif
|
| Isolate* isolate = Isolate::UncheckedCurrent();
|
| // Note that the current isolate isn't set up in a call path via
|
| // CpuFeatures::Probe. We don't care about randomization in this case because
|
|
|