[llvm-commits] CVS: llvm/tools/lli/JIT/Emitter.cpp Intercept.cpp
John Criswell
criswell at choi.cs.uiuc.edu
Mon Jun 23 14:06:12 PDT 2003
Changes in directory llvm/tools/lli/JIT:
Emitter.cpp updated: 1.14 -> 1.14.2.1
Intercept.cpp updated: 1.4 -> 1.4.2.1
---
Log message:
Initial autoconf checkin.
---
Diffs of the changes:
Index: llvm/tools/lli/JIT/Emitter.cpp
diff -u llvm/tools/lli/JIT/Emitter.cpp:1.14 llvm/tools/lli/JIT/Emitter.cpp:1.14.2.1
--- llvm/tools/lli/JIT/Emitter.cpp:1.14 Sun Jun 8 01:43:57 2003
+++ llvm/tools/lli/JIT/Emitter.cpp Mon Jun 23 14:04:54 2003
@@ -6,6 +6,7 @@
//===----------------------------------------------------------------------===//
#include "VM.h"
+#include "Config/sys/mman.h"
#include "llvm/CodeGen/MachineCodeEmitter.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineConstantPool.h"
@@ -79,7 +80,7 @@
static unsigned long Counter = 0;
pa = mmap((void*)(0x140000000UL+Counter), pageSize*NumPages,
PROT_READ|PROT_WRITE|PROT_EXEC,
- MAP_PRIVATE|MAP_ANON|MAP_FIXED, -1, 0); /* fd = -1 */
+ MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED, -1, 0); /* fd = -1 */
Counter += pageSize*NumPages;
#else
std::cerr << "This architecture is not supported by the JIT\n";
Index: llvm/tools/lli/JIT/Intercept.cpp
diff -u llvm/tools/lli/JIT/Intercept.cpp:1.4 llvm/tools/lli/JIT/Intercept.cpp:1.4.2.1
--- llvm/tools/lli/JIT/Intercept.cpp:1.4 Tue Jun 3 20:57:22 2003
+++ llvm/tools/lli/JIT/Intercept.cpp Mon Jun 23 14:04:54 2003
@@ -9,7 +9,7 @@
//===----------------------------------------------------------------------===//
#include "VM.h"
-#include <dlfcn.h> // dlsym access
+#include "Config/dlfcn.h" // dlsym access
#include <iostream>
// AtExitList - List of functions registered with the at_exit function
More information about the llvm-commits
mailing list