Nuke support for running MSan without a simulator.
authorjkummerow@chromium.org <jkummerow@chromium.org>
Thu, 11 Sep 2014 15:19:17 +0000 (15:19 +0000)
committerjkummerow@chromium.org <jkummerow@chromium.org>
Thu, 11 Sep 2014 15:19:17 +0000 (15:19 +0000)
We've abandoned that approach. The ARM64 simulator is the only supported way of
running V8 under MSan.

R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/493923003

Patch from Sergey Matveev <earthdok@chromium.org>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23882 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/heap/spaces.cc
src/msan.h

index b762f86..a66080f 100644 (file)
@@ -664,7 +664,6 @@ MemoryChunk* MemoryAllocator::AllocateChunk(intptr_t reserve_area_size,
   MemoryChunk* result = MemoryChunk::Initialize(
       heap, base, chunk_size, area_start, area_end, executable, owner);
   result->set_reserved_memory(&reservation);
-  MSAN_MEMORY_IS_INITIALIZED_IN_JIT(base, chunk_size);
   return result;
 }
 
index dfcbd23..c9be864 100644 (file)
 # define MSAN_ALLOCATED_UNINITIALIZED_MEMORY(p, s)
 #endif
 
-#if defined(MEMORY_SANITIZER) && !defined(USE_SIMULATOR)
-// Marks a memory range as fully initialized.
-# define MSAN_MEMORY_IS_INITIALIZED_IN_JIT(p, s) __msan_unpoison((p), (s))
-#else
-# define MSAN_MEMORY_IS_INITIALIZED_IN_JIT(p, s)
-#endif
-
 #endif  // V8_MSAN_H_