mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-07 12:16:24 +00:00
Fix llvm jit failed to lookup aot_stack_sizes symbol issue (#2384)
LVM JIT failed to lookup symbol "aot_stack_sizes" as it is an internal symbol, change to lookup "aot_stack_sizes_alias" instead. Reported in #2372.
This commit is contained in:
parent
0f4edf9735
commit
24c6c6977b
|
@ -2696,7 +2696,7 @@ aot_compile_wasm(AOTCompContext *comp_ctx)
|
||||||
if (comp_ctx->stack_sizes != NULL) {
|
if (comp_ctx->stack_sizes != NULL) {
|
||||||
LLVMOrcJITTargetAddress addr;
|
LLVMOrcJITTargetAddress addr;
|
||||||
if ((err = LLVMOrcLLLazyJITLookup(comp_ctx->orc_jit, &addr,
|
if ((err = LLVMOrcLLLazyJITLookup(comp_ctx->orc_jit, &addr,
|
||||||
aot_stack_sizes_name))) {
|
aot_stack_sizes_alias_name))) {
|
||||||
aot_handle_llvm_errmsg("failed to look up stack_sizes", err);
|
aot_handle_llvm_errmsg("failed to look up stack_sizes", err);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user