From c8a07733d3cb1ed13963e9da3e8958bed0e3018d Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Sat, 4 Oct 2008 08:15:32 +0000 Subject: Add implementations for sys::Memory::setWritable and sys::Memory::setExecutable on Win32 platform. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57047 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/System/Win32/Memory.inc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/System') diff --git a/lib/System/Win32/Memory.inc b/lib/System/Win32/Memory.inc index eed2b10..6208015 100644 --- a/lib/System/Win32/Memory.inc +++ b/lib/System/Win32/Memory.inc @@ -53,5 +53,13 @@ bool Memory::ReleaseRWX(MemoryBlock &M, std::string *ErrMsg) { return false; } +bool Memory::setWritable (MemoryBlock &M, std::string *ErrMsg) { + return true; +} + +bool Memory::setExecutable (MemoryBlock &M, std::string *ErrMsg) { + return false; +} + } -- cgit v1.1