Remove unused LLVM JIT wapper functions (#1747)

Only create the necessary wrapper functions for LLVM JIT
This commit is contained in:
Wenyong Huang
2022-11-25 11:26:08 +08:00
committed by GitHub
parent 0456043d8d
commit 96570cca22
3 changed files with 14 additions and 4 deletions

View File

@ -2955,7 +2955,7 @@ orcjit_thread_callback(void *arg)
LLVMOrcLLLazyJITLookup(comp_ctx->orc_jit, &func_addr, func_name);
if (error != LLVMErrorSuccess) {
char *err_msg = LLVMGetErrorMessage(error);
os_printf("failed to compile orc jit function: %s", err_msg);
os_printf("failed to compile orc jit function: %s\n", err_msg);
LLVMDisposeErrorMessage(err_msg);
continue;
}