mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-10-30 04:41:18 +00:00
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 | ||