forked from bytecodealliance/wasm-micro-runtime
-
Couldn't load subscription status.
- Fork 0
Merge bytecodealliance:main into wenyongh:main #406
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
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
Fix fail to get builtin functions in indirect call (XIP) mode, e.g. function aot_alloc_frame, aot_memory_init, aot_table_init and so on. Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This patch enables huge page support for posix platforms for performance reason, if the request size to mmap is larger than 2MB, then we use madvise to set some pages to huge page. And add macro control to enable tracing the mmap/munmap. Signed-off-by: Wenyong Huang <wenyong.huang@intel.com>
Enable LLVM link time optimization for AOT and enable it by default, and provide "wamrc --disable-llvm-lto" option to disable it. And modify the spec test script, disable it by default when testing spec cases. Signed-off-by: Wenyong Huang <wenyong.huang@intel.com>
Fix some potential pointer overflows in aot applying relocations and several other places. And add sanitizer compiler flags to wamrc CMakeLists.txt to detect such issues.
Add more reloc symbols for target arm/thumb/riscv and implement relocation type R_ARM_ABS32 for thumb. Tested in buildroot qemu.
Apply clang format for c source files under samples folder
Applied on the nuttx platform, some memory configurations are added, and aot and interp can be completely closed or opened, thereby reducing the flash size.
Enable ref types feature and bulk memory feature by default for wamrc and provide "--disable-ref-types", "--disable-bulk-memory" to disable them. And remove the ref_type_flag option in wasm_loader.c which is used to control whether to enable ref types or not when ENABLE_REF_TYPES macro is enabled in wamrc. As the wasm binary format with ref types is compatible with the binary format before, we can remove the option. Also update the spec test scripts.
…844) The destroy_callback_list variable in thread_manager_destroy is not cleared. When wamr is started as a task, after exiting and restarting, it will loop endlessly in traverse_list. Signed-off-by: zhouliang3 <zhouliang3@xiaomi.com>
Fix compilation error on Win32 platform.
The debug_instance_list is not protected by mutex, and the debug instance uses the length of this list as its id. If several threads create debug instance at the same time, they may get duplicated/same ids. This patch adds mutex to protect this list.
Emit the correct binary type and machine type in AOT file for win64/win32 system, and handle them in aot loader.
- Lower aotmic instruction to non-atomic form on some platforms - Lower memset/memmove/memcpy for XIP - Disable rtti in cmake
Fix possible integer overflow unchecked issue when checking wasm/aot file format.
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.