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/shared/platform
Wenyong Huang 7636d86a76
Refactor Orc JIT to enable lazy compilation (#974)
Refactor LLVM Orc JIT to actually enable the lazy compilation and speedup
the launching process:
  https://llvm.org/docs/ORCv2.html#laziness

Main modifications:
- Create LLVM module for each wasm function, wrap it with thread safe module
  so that the modules can be compiled parallelly
- Lookup function from aot module instance's func_ptrs but not directly call the
  function to decouple the module relationship
- Compile the function when it is first called and hasn't been compiled
- Create threads to pre-compile the WASM functions parallelly when loading
- Set Lazy JIT as default, update document and build/test scripts
2022-01-20 18:40:13 +08:00
..
alios Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
android Upgrade uvwasi to 1.42.0 and fix Android link issues (#938) 2022-01-06 18:25:37 +08:00
common Refactor Orc JIT to enable lazy compilation (#974) 2022-01-20 18:40:13 +08:00
darwin Enable source debugging feature for windows platform (#910) 2021-12-22 19:52:07 +08:00
esp-idf Refactor Orc JIT to enable lazy compilation (#974) 2022-01-20 18:40:13 +08:00
include Enable source debugging feature for windows platform (#910) 2021-12-22 19:52:07 +08:00
linux Enable source debugging feature for windows platform (#910) 2021-12-22 19:52:07 +08:00
linux-sgx Refactor Orc JIT to enable lazy compilation (#974) 2022-01-20 18:40:13 +08:00
nuttx Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
riot Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
rt-thread Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
vxworks Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
windows Refactor Orc JIT to enable lazy compilation (#974) 2022-01-20 18:40:13 +08:00
zephyr Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
README.md re-org platform APIs, simplify porting process (#201) 2020-03-16 16:43:57 +08:00

This folder contains the platform abstract layer for multiple platforms. To support a new platform, you can simply create a new folder here and implement all the APIs defined in include folder.

Refer to port_wamr.md for how to port WAMR to a target platform.