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/aot
liang.he 50b6474f54
Add WASI ABI compatibility check for multi-module (#913)
Refer to https://github.com/WebAssembly/WASI/blob/main/design/application-abi.md
to check the WASI ABI compatibility:
- Command (main module) may export _start function with signature "()"
- Reactor (sub module) may export _initialize function with signature "()"
- _start and _initialize can not be exported at the same time
- Reactor cannot export _start function
- Command and Reactor must export memory

And
- Rename module->is_wasi_module to module->import_wasi_api
- Refactor wasm_loader_find_export()
- Remove MULTI_MODULE related codes from mini_loader
- Update multi-module samples
- Fix a "use-after-free" issue. Since we reuse the memory instance of sub module,
   just to protect it from freeing an imported memory instance
2021-12-29 11:04:36 +08:00
..
arch Cleanup output format warnings (#904) 2021-12-20 15:51:36 +08:00
debug Apply clang-format for more src files and update spec test script (#775) 2021-10-08 17:47:11 +08:00
aot_intrinsic.c Don't use constant float table on arm and riscv (#903) 2021-12-20 11:10:52 +08:00
aot_intrinsic.h Don't use constant float table on arm and riscv (#903) 2021-12-20 11:10:52 +08:00
aot_loader.c Add WASI ABI compatibility check for multi-module (#913) 2021-12-29 11:04:36 +08:00
aot_reloc.h Add new E_TYPE_XIP to indicate XIP mode (#874) 2021-12-08 18:43:08 +08:00
aot_runtime.c Add WASI ABI compatibility check for multi-module (#913) 2021-12-29 11:04:36 +08:00
aot_runtime.h Add WASI ABI compatibility check for multi-module (#913) 2021-12-29 11:04:36 +08:00
iwasm_aot.cmake Implement source debugging for interpreter and AOT (#769) 2021-09-29 13:36:46 +08:00
SConscript Add ia32 support and fix compiling issue for RT-Thread (#730) 2021-09-07 10:20:14 +08:00