summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-10-04 08:15:32 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-10-04 08:15:32 +0000
commita6f9bb79050fe2fe21a3b642d0b40f7b20488fc4 (patch)
tree9ea24ef30f740a4c0df524f4da9079265bced840 /llvm
parent68fec886ed4375c4cdca0b909888c5fbc3fdc345 (diff)
downloadbcm5719-llvm-a6f9bb79050fe2fe21a3b642d0b40f7b20488fc4.tar.gz
bcm5719-llvm-a6f9bb79050fe2fe21a3b642d0b40f7b20488fc4.zip
Add implementations for sys::Memory::setWritable and sys::Memory::setExecutable on Win32 platform.
llvm-svn: 57047
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/System/Win32/Memory.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/System/Win32/Memory.inc b/llvm/lib/System/Win32/Memory.inc
index eed2b100e6d..620801583a0 100644
--- a/llvm/lib/System/Win32/Memory.inc
+++ b/llvm/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;
+}
+
}
OpenPOWER on IntegriCloud