From 9951770a30255d279e96088b7fe5d0569efedaa7 Mon Sep 17 00:00:00 2001 From: "jkummerow@chromium.org" Date: Thu, 11 Sep 2014 15:19:17 +0000 Subject: [PATCH] Nuke support for running MSan without a simulator. 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 . git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23882 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/heap/spaces.cc | 1 - src/msan.h | 7 ------- 2 files changed, 8 deletions(-) diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc index b762f86..a66080f 100644 --- a/src/heap/spaces.cc +++ b/src/heap/spaces.cc @@ -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; } diff --git a/src/msan.h b/src/msan.h index dfcbd23..c9be864 100644 --- a/src/msan.h +++ b/src/msan.h @@ -27,11 +27,4 @@ # 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_ -- 2.7.4