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
|
|
@ -1254,6 +1254,11 @@ unsigned LLVMLoadLibraryPermanently(const char* filename, char **errmsg)
|
|||
return 1;
|
||||
}
|
||||
|
||||
void LLVMExecutionEngineDisableLazyCompilation(LLVMExecutionEngineRef ee, int flag)
|
||||
{
|
||||
llvm::unwrap(ee)->DisableLazyCompilation(flag);
|
||||
}
|
||||
|
||||
void *LLVMGetPointerToFunction(LLVMExecutionEngineRef ee, LLVMValueRef fn)
|
||||
{
|
||||
llvm::ExecutionEngine *eep = llvm::unwrap(ee);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue