summaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/Interpreter
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-06-24 21:09:18 +0000
committerBob Wilson <bob.wilson@apple.com>2009-06-24 21:09:18 +0000
commite46161f10c3e0c640b22e446b873df8b01413f52 (patch)
treeeb4fdad4778b8f5a3e9948d70627239e00202fc7 /lib/ExecutionEngine/Interpreter
parentba2aa7859e7ae3b5276d902ed0edddbc5ec7355d (diff)
downloadllvm-e46161f10c3e0c640b22e446b873df8b01413f52.tar.gz
llvm-e46161f10c3e0c640b22e446b873df8b01413f52.tar.bz2
llvm-e46161f10c3e0c640b22e446b873df8b01413f52.tar.xz
Fix the Ocaml bindings for the ExecutionEngine: with the change to build
libraries instead of relinked objects, the interpreter, JIT, and native target libraries were not being linked in to an ocaml program using the ExecutionEngine. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74117 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter')
-rw-r--r--lib/ExecutionEngine/Interpreter/Interpreter.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.cpp b/lib/ExecutionEngine/Interpreter/Interpreter.cpp
index ded65d5467..d7f38ef548 100644
--- a/lib/ExecutionEngine/Interpreter/Interpreter.cpp
+++ b/lib/ExecutionEngine/Interpreter/Interpreter.cpp
@@ -29,10 +29,7 @@ static struct RegisterInterp {
}
-namespace llvm {
- void LinkInInterpreter() {
- }
-}
+extern "C" void LLVMLinkInInterpreter() { }
/// create - Create a new interpreter object. This can never fail.
///