diff options
author | Bob Wilson <bob.wilson@apple.com> | 2009-06-24 21:09:18 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2009-06-24 21:09:18 +0000 |
commit | a1d3e660aef0ad88553c1d9ded5fb672a8427f89 (patch) | |
tree | af2eb14e04ab60f44f0a82c6cede397d3d72747f /llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp | |
parent | c3aff2c3fae52960af8f780097bf351126bef2b1 (diff) | |
download | bcm5719-llvm-a1d3e660aef0ad88553c1d9ded5fb672a8427f89.tar.gz bcm5719-llvm-a1d3e660aef0ad88553c1d9ded5fb672a8427f89.zip |
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.
llvm-svn: 74117
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp index ded65d54670..d7f38ef548f 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp +++ b/llvm/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. /// |