From a1d3e660aef0ad88553c1d9ded5fb672a8427f89 Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Wed, 24 Jun 2009 21:09:18 +0000 Subject: 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 --- llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp') 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. /// -- cgit v1.2.3