diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-10-04 08:15:32 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-10-04 08:15:32 +0000 |
commit | a6f9bb79050fe2fe21a3b642d0b40f7b20488fc4 (patch) | |
tree | 9ea24ef30f740a4c0df524f4da9079265bced840 /llvm | |
parent | 68fec886ed4375c4cdca0b909888c5fbc3fdc345 (diff) | |
download | bcm5719-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.inc | 8 |
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; +} + } |