projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6873450
)
Actually _PASS IN_ NO_RESERVE if we have it.
author
Chris Lattner
<sabre@nondot.org>
Mon, 6 Oct 2003 19:07:41 +0000
(19:07 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 6 Oct 2003 19:07:41 +0000
(19:07 +0000)
Thanks to Brian for fixing this obvious oops
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8899
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/ExecutionEngine/JIT/JITEmitter.cpp
patch
|
blob
|
history
diff --git
a/lib/ExecutionEngine/JIT/JITEmitter.cpp
b/lib/ExecutionEngine/JIT/JITEmitter.cpp
index 637b10589310bd2f94e557b5f598ab947b16bf4c..a7ab0355752caa42aec3640b7966eab79e15f409 100644
(file)
--- a/
lib/ExecutionEngine/JIT/JITEmitter.cpp
+++ b/
lib/ExecutionEngine/JIT/JITEmitter.cpp
@@
-71,7
+71,7
@@
static void *getMemory(unsigned NumBytes) {
#endif
void *pa = mmap(0, pageSize*NumPages, PROT_READ|PROT_WRITE|PROT_EXEC,
-
MAP_PRIVATE|MAP_ANONYMOUS
, fd, 0);
+
mmapFlags
, fd, 0);
if (pa == MAP_FAILED) {
perror("mmap");
abort();