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/windows
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
..
platform_init.c Enable source debugging feature for windows platform (#910) 2021-12-22 19:52:07 +08:00
platform_internal.h Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00
shared_platform.cmake Add wamrc AoT compiler building support for Windows(MSVC) (#332) 2020-08-11 11:30:51 +08:00
win_malloc.c Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
win_memmap.c Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
win_socket.c Enable source debugging feature for windows platform (#910) 2021-12-22 19:52:07 +08:00
win_thread.c Refactor Orc JIT to enable lazy compilation (#974) 2022-01-20 18:40:13 +08:00
win_time.c Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00