Add lazy compilation option.
Unify execution engine creation through engine-builder internally.
This commit is contained in:
parent
91a10e6a8e
commit
bdac4a809d
4 changed files with 55 additions and 38 deletions
|
|
@ -590,6 +590,11 @@ unsigned char *LLVMGetBitcodeFromModule(LLVMModuleRef module, size_t *len);
|
|||
* use, via LLVMDisposeMessage(). */
|
||||
unsigned LLVMLoadLibraryPermanently(const char* filename, char **errmsg);
|
||||
|
||||
/* Wraps llvm::ExecutionEngine::DisableLazyCompilation(bool)
|
||||
*/
|
||||
void LLVMExecutionEngineDisableLazyCompilation(LLVMExecutionEngineRef ee,
|
||||
int flag);
|
||||
|
||||
/* Wraps llvm::ExecutionEngine::getPointerToFunction(). Returns a pointer
|
||||
* to the JITted function. */
|
||||
void *LLVMGetPointerToFunction(LLVMExecutionEngineRef ee, LLVMValueRef fn);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue