summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/JIT/JIT.cpp
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
commita1d3e660aef0ad88553c1d9ded5fb672a8427f89 (patch)
treeaf2eb14e04ab60f44f0a82c6cede397d3d72747f /llvm/lib/ExecutionEngine/JIT/JIT.cpp
parentc3aff2c3fae52960af8f780097bf351126bef2b1 (diff)
downloadbcm5719-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/JIT/JIT.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/JIT/JIT.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/JIT.cpp b/llvm/lib/ExecutionEngine/JIT/JIT.cpp
index 43995cb0ecd..14d8d5b12ae 100644
--- a/llvm/lib/ExecutionEngine/JIT/JIT.cpp
+++ b/llvm/lib/ExecutionEngine/JIT/JIT.cpp
@@ -60,9 +60,7 @@ static struct RegisterJIT {
}
-namespace llvm {
- void LinkInJIT() {
- }
+extern "C" void LLVMLinkInJIT() {
}
OpenPOWER on IntegriCloud