Reviewers: Jakob,
Message:
PTAL
Description:
Disable GetRandomMmapAddr for MemorySanitizer.
BUG=dynamic tools do not support custom mmap addresses
R=jkumme...@chromium.org
Please review this at https://chromiumcodereview.appspot.com/25890005/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+5, -0 lines):
M src/platform-posix.cc
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
--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.