forked from bytecodealliance/wasm-micro-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Merge bytecodealliance:dev/gc into wenyongh:dev/gc #596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
no functional changes are intended. cf. https://sourceware.org/gdb/onlinedocs/gdb/General-Query-Packets.html#General-Query-Packets
Enhance the hw bound check reported in #1262: When registering signal handlers for SIGSEGV & SIGBUS in boundary check with hardware trap, preserve the previous handlers for signal SIGSEGV and SIGBUS, and forward the signal to the preserved signal handlers if it isn't handled by hw bound check.
Remove unnecessary memset after mmap to decrease the number of page faults, as reported in #1269.
…#1279) Sub module's auxiliary stack boundary and bottom may be different from main module's counterpart, so when calling sub module, its aux stack info should be gotten and set to exec_env firstly, or aux stack overflow and out of bounds memory access exception may be thrown when calling sub module's function. Fix the issue reported in PR #1278.
Fix the issue reported in #1282. When i32/i64 rotate (rotl/rotr) with 0, the LLVM IRs translated are: left<<0 | left>>64 and left >>0 | left<<64 The value of left >> 64 and left <<64 in LLVM are treated as poison, which causes invalid result when executing the aot function. Directly return left when right is 0 to fix the issue.
The existing validation didn't work as expected; e.g. for address pool: 8.8.8.8/24 the application had access to the 127.0.0.1 address (which should not).
Add API wasm_runtime_set_module_inst, per request from #1275
Set noexecstack CXX link flags for wamrc to avoid generating binary with exec stack.
According to import subtyping validation: https://webassembly.github.io/spec/core/valid/types.html#import-subtyping wasm-c-api needs to check types when linking.
Fix libc-wasi poll_oneoff hang issue Fix libc-uvwasi environ_get sanity check issue
Implement boundary check with hardware trap for interpreter on 64-bit platforms: - To improve the performance of interpreter and Fast JIT - To prepare for multi-tier compilation for the feature Linux/MacOS/Windows 64-bit are enabled.
Fix build script to enable hw bound check for interpreter when AOT is disabled, so as to enable spec cases test for interp with hw bound check. And fix the issues found.
Refine wasm_runtime_call_wasm_a/v by adding cache buf for arguments/results to avoid allocating memory frequently.
Currently we are using `ANDROID_HOME` and `ANDROID_NDK_LATEST_HOME`. All variables should follow definitions in https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-Readme.md#environment-variables-3
…1333) Before resolving the module function's export in wasm_mini_loader, "module->retain_function" need to be initialized, otherwise, the "__new" function export will lead to abort. issue: #1332 Co-authored-by: yaozhongxiao <[email protected]>
Upgrade WAMR-IDE: test-tools/wamr-ide folder - add `wamr-sdk` to include libc-builtin-sysroot header files - add `prettier` check and apply script in `package.json` - update `wasm-toolchain` dockerfile and resource - enhance `build | run | debug` process to clean up the container - enhance the change workspace - enhance `wasm` type project check before building, running and debugging - format the project_compilation.json - update documents
Since legacy binding for loop unswitch pass was removed and we can't get it back. Implement its equivalent in `aot_llvm_extra.cpp` and use it in `aot_compiler.c`. Follow up to #1183.
Import WAMR Fast JIT which is a lightweight JIT with quick startup, small footprint, relatively good performance (~40% to ~50% of LLVM JIT) and good portability. Platforms supported: Linux, MacOS and Linux SGX. Arch supported: x86-64.
Support app management and thread on esp-idf platform: - Fix compile issues when app management is enabled - Add missing thread related APIs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.