Add implementations for sys::Memory::setWritable and sys::Memory::setExecutable on...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 4 Oct 2008 08:15:32 +0000 (08:15 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 4 Oct 2008 08:15:32 +0000 (08:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57047 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/Win32/Memory.inc

index eed2b100e6d805db961d93c1b8d7f081837d2de6..620801583a07eee4a3b6d738e38fa77c412865ca 100644 (file)
@@ -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;
+}
+
 }