aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm-c
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
commit3217b3e9cca4b18206aea79324624bc692559c01 (patch)
treeeb4fdad4778b8f5a3e9948d70627239e00202fc7 /include/llvm-c
parent3a07d2f9a3b056e2b051580128e5b1fddad4c784 (diff)
downloadexternal_llvm-3217b3e9cca4b18206aea79324624bc692559c01.zip
external_llvm-3217b3e9cca4b18206aea79324624bc692559c01.tar.gz
external_llvm-3217b3e9cca4b18206aea79324624bc692559c01.tar.bz2
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 'include/llvm-c')
-rw-r--r--include/llvm-c/ExecutionEngine.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm-c/ExecutionEngine.h b/include/llvm-c/ExecutionEngine.h
index a31dc82..9877b8d 100644
--- a/include/llvm-c/ExecutionEngine.h
+++ b/include/llvm-c/ExecutionEngine.h
@@ -26,6 +26,9 @@
extern "C" {
#endif
+void LLVMLinkInJIT(void);
+void LLVMLinkInInterpreter(void);
+
typedef struct LLVMOpaqueGenericValue *LLVMGenericValueRef;
typedef struct LLVMOpaqueExecutionEngine *LLVMExecutionEngineRef;