This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
wasm-micro-runtime/core/iwasm/common
Wenyong Huang 5b144c491d
Avoid initialize LLVM repeatedly (#1671)
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.
2022-11-02 16:13:58 +08:00
..
arch Apply clang-format for more src files and update spec test script (#775) 2021-10-08 17:47:11 +08:00
iwasm_common.cmake Implement XIP feature and enable ARC target support (#694) 2021-08-12 17:44:39 +08:00
SConscript Add ia32 support and fix compiling issue for RT-Thread (#730) 2021-09-07 10:20:14 +08:00
wasm_application.c Fix multi-module and some other issues (#1435) 2022-08-31 17:38:38 +08:00
wasm_c_api_internal.h Add mutex initializer for wasm-c-api engine operations (#1656) 2022-10-31 11:48:07 +08:00
wasm_c_api.c Avoid initialize LLVM repeatedly (#1671) 2022-11-02 16:13:58 +08:00
wasm_exec_env.c Refactor interpreter/AOT module instance layout (#1559) 2022-10-18 10:59:28 +08:00
wasm_exec_env.h Import WAMR Fast JIT (#1343) 2022-08-02 16:03:50 +08:00
wasm_memory.c Refactor interpreter/AOT module instance layout (#1559) 2022-10-18 10:59:28 +08:00
wasm_memory.h Enlarge max pool size and fix bh_memcpy_s dest max size check (#1151) 2022-05-07 16:09:16 +08:00
wasm_native.c Add wasm_runtime_unregister_natives (#1647) 2022-10-28 11:03:39 +08:00
wasm_native.h Add wasm_runtime_unregister_natives (#1647) 2022-10-28 11:03:39 +08:00
wasm_runtime_common.c Avoid initialize LLVM repeatedly (#1671) 2022-11-02 16:13:58 +08:00
wasm_runtime_common.h Add wasm_runtime_unregister_natives (#1647) 2022-10-28 11:03:39 +08:00
wasm_shared_memory.c Refactor interpreter/AOT module instance layout (#1559) 2022-10-18 10:59:28 +08:00
wasm_shared_memory.h Apply clang-format for more src files and update spec test script (#775) 2021-10-08 17:47:11 +08:00