aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-13 20:14:30 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-13 20:14:30 +0000
commit9b9e22a32e175a40b280236531a60a716a12c3a5 (patch)
treeaaba674784fe2ab4bd199cca926f347562fbde67 /include
parente171d5c812c308eb93ea611cae5c480279a82fbc (diff)
downloadexternal_llvm-9b9e22a32e175a40b280236531a60a716a12c3a5.zip
external_llvm-9b9e22a32e175a40b280236531a60a716a12c3a5.tar.gz
external_llvm-9b9e22a32e175a40b280236531a60a716a12c3a5.tar.bz2
For PR351:
Remove AllocateRWXMemory as it is not used any more in LLVM. The function has been replaced with sys::Memory::AllocateRWX several months ago. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18912 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/SystemUtils.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/llvm/Support/SystemUtils.h b/include/llvm/Support/SystemUtils.h
index aea7df8..e8ead13 100644
--- a/include/llvm/Support/SystemUtils.h
+++ b/include/llvm/Support/SystemUtils.h
@@ -53,13 +53,6 @@ int RunProgramWithTimeout(const std::string &ProgramPath, const char **Args,
///
int ExecWait (const char * const argv[], const char * const envp[]);
-/// AllocateRWXMemory - Allocate a slab of memory with read/write/execute
-/// permissions. This is typically used for JIT applications where we want
-/// to emit code to the memory then jump to it. Getting this type of memory
-/// is very OS specific.
-///
-void *AllocateRWXMemory(unsigned NumBytes);
-
} // End llvm namespace
#endif