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
This commit is contained in:
Argyrios Kyrtzidis 2008-10-04 08:15:32 +00:00
parent 0304b87cce
commit c8a07733d3

View 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;
}
}