From 0f448b841684305c051796982f300c9bff959307 Mon Sep 17 00:00:00 2001 From: rdivacky Date: Tue, 16 Mar 2010 16:51:38 +0000 Subject: Update LLVM to r98631. --- lib/System/Memory.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/System/Memory.cpp') diff --git a/lib/System/Memory.cpp b/lib/System/Memory.cpp index e2d838d..ef23b8d 100644 --- a/lib/System/Memory.cpp +++ b/lib/System/Memory.cpp @@ -13,6 +13,7 @@ //===----------------------------------------------------------------------===// #include "llvm/System/Memory.h" +#include "llvm/System/Valgrind.h" #include "llvm/Config/config.h" namespace llvm { @@ -68,4 +69,6 @@ void llvm::sys::Memory::InvalidateInstructionCache(const void *Addr, # endif #endif // end apple + + ValgrindDiscardTranslations(Addr, Len); } -- cgit v1.1