mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-11 17:35:13 +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. |
||
---|---|---|
.. | ||
aot_export.h | ||
lib_export.h | ||
wasm_c_api.h | ||
wasm_export.h |