[llvm-commits] CVS: llvm/include/Support/SystemUtils.h
Chris Lattner
lattner at cs.uiuc.edu
Thu May 27 20:02:01 PDT 2004
Changes in directory llvm/include/Support:
SystemUtils.h updated: 1.10 -> 1.11
---
Log message:
Add a new function for the JIT
---
Diffs of the changes: (+7 -0)
Index: llvm/include/Support/SystemUtils.h
diff -u llvm/include/Support/SystemUtils.h:1.10 llvm/include/Support/SystemUtils.h:1.11
--- llvm/include/Support/SystemUtils.h:1.10 Thu Apr 1 23:04:12 2004
+++ llvm/include/Support/SystemUtils.h Thu May 27 19:58:48 2004
@@ -52,6 +52,13 @@
///
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
More information about the llvm-commits
mailing list