mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 23:15:16 +00:00
5b144c491d
Currently we initialize and destroy LLVM environment in aot_create_comp_context and aot_destroy_comp_context, which are called in wasm_module_load/unload, and the latter may be invoked multiple times, which leads to duplicated LLVM initialization/destroy and may result in unexpected behaviors. Move the LLVM init/destroy into runtime init/destroy to resolve the issue. |
||
---|---|---|
.. | ||
arch | ||
iwasm_common.cmake | ||
SConscript | ||
wasm_application.c | ||
wasm_c_api_internal.h | ||
wasm_c_api.c | ||
wasm_exec_env.c | ||
wasm_exec_env.h | ||
wasm_memory.c | ||
wasm_memory.h | ||
wasm_native.c | ||
wasm_native.h | ||
wasm_runtime_common.c | ||
wasm_runtime_common.h | ||
wasm_shared_memory.c | ||
wasm_shared_memory.h |