summaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/MCJIT/MCJIT.h
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-03-22 01:06:42 +0000
committerJim Grosbach <grosbach@apple.com>2011-03-22 01:06:42 +0000
commitf922910494377909b4cf2a0b73f509b2b1925799 (patch)
treec37590a3359f2455da81da8d741d996bb40c0a79 /lib/ExecutionEngine/MCJIT/MCJIT.h
parentbd17478f2f6dd3630c4e2fafaa71e2424e08c96e (diff)
downloadllvm-f922910494377909b4cf2a0b73f509b2b1925799.tar.gz
llvm-f922910494377909b4cf2a0b73f509b2b1925799.tar.bz2
llvm-f922910494377909b4cf2a0b73f509b2b1925799.tar.xz
Hook up the MCJIT to the RuntimeDyld library.
Lots of cleanup to make the interfaces prettier, use the JITMemoryManager, handle multiple functions and modules, etc.. This gets far enough that the MCJIT compiles and runs code, though. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128052 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/MCJIT/MCJIT.h')
-rw-r--r--lib/ExecutionEngine/MCJIT/MCJIT.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/MCJIT/MCJIT.h b/lib/ExecutionEngine/MCJIT/MCJIT.h
index e81e7c7d34..947f7c78e3 100644
--- a/lib/ExecutionEngine/MCJIT/MCJIT.h
+++ b/lib/ExecutionEngine/MCJIT/MCJIT.h
@@ -12,6 +12,7 @@
#include "llvm/PassManager.h"
#include "llvm/ExecutionEngine/ExecutionEngine.h"
+#include "llvm/ExecutionEngine/RuntimeDyld.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/raw_ostream.h"
@@ -37,6 +38,8 @@ class MCJIT : public ExecutionEngine {
SmallVector<char, 4096> Buffer; // Working buffer into which we JIT.
raw_svector_ostream OS;
+ RuntimeDyld Dyld;
+
public:
~MCJIT();