diff options
author | Duncan Sands <baldrick@free.fr> | 2010-07-19 09:33:13 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-07-19 09:33:13 +0000 |
commit | d90fee9b4205c92786c8ae6fa574624b8d157f1c (patch) | |
tree | 53f8eb7405c926682dcf2b7822dafcfcfd86f4fa /include | |
parent | aa52fd10abd8bce76d8c8f0a16d6f8138a82902e (diff) |
Expose JIT::recompileAndRelinkFunction for use through the C API.
Patch by Benjamin Saunders.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108690 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm-c/ExecutionEngine.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm-c/ExecutionEngine.h b/include/llvm-c/ExecutionEngine.h index 5a98a77c5b..f5f40619ef 100644 --- a/include/llvm-c/ExecutionEngine.h +++ b/include/llvm-c/ExecutionEngine.h @@ -116,6 +116,8 @@ LLVMBool LLVMRemoveModuleProvider(LLVMExecutionEngineRef EE, LLVMBool LLVMFindFunction(LLVMExecutionEngineRef EE, const char *Name, LLVMValueRef *OutFn); +void *LLVMRecompileAndRelinkFunction(LLVMExecutionEngineRef EE, LLVMValueRef Fn); + LLVMTargetDataRef LLVMGetExecutionEngineTargetData(LLVMExecutionEngineRef EE); void LLVMAddGlobalMapping(LLVMExecutionEngineRef EE, LLVMValueRef Global, |