mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-10-27 11:21: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. |
||
|---|---|---|
| .. | ||
| aot_export.h | ||
| lib_export.h | ||
| wasm_c_api.h | ||
| wasm_export.h | ||