[llvm-commits] [llvm] r57047 - /llvm/trunk/lib/System/Win32/Memory.inc
Argiris Kirtzidis
akyrtzi at gmail.com
Sat Oct 4 01:15:32 PDT 2008
Author: akirtzidis
Date: Sat Oct 4 03:15:32 2008
New Revision: 57047
URL: http://llvm.org/viewvc/llvm-project?rev=57047&view=rev
Log:
Add implementations for sys::Memory::setWritable and sys::Memory::setExecutable on Win32 platform.
Modified:
llvm/trunk/lib/System/Win32/Memory.inc
Modified: llvm/trunk/lib/System/Win32/Memory.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/Win32/Memory.inc?rev=57047&r1=57046&r2=57047&view=diff
==============================================================================
--- llvm/trunk/lib/System/Win32/Memory.inc (original)
+++ llvm/trunk/lib/System/Win32/Memory.inc Sat Oct 4 03:15:32 2008
@@ -53,5 +53,13 @@
return false;
}
+bool Memory::setWritable (MemoryBlock &M, std::string *ErrMsg) {
+ return true;
+}
+
+bool Memory::setExecutable (MemoryBlock &M, std::string *ErrMsg) {
+ return false;
+}
+
}
More information about the llvm-commits
mailing list