Anders Bakken 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e8c2952bf9 
							
						 
					 
					
						
						
							
							Fix arm64 issues on mac ( #3688 )  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_BUILD_TAIL_CALL=1, $FAST_INTERP_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_BUILD_TAIL_CALL=1, $LLVM_EAGER_JIT_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_BUILD_TAIL_CALL=1, $LLVM_LAZY_JIT_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_DISABLE_HW_BOUND_CHECK=1, $AOT_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_DISABLE_HW_BOUND_CHECK=1, $CLASSIC_INTERP_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_DISABLE_HW_BOUND_CHECK=1, $FAST_INTERP_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_DISABLE_HW_BOUND_CHECK=1, $LLVM_EAGER_JIT_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_DISABLE_HW_BOUND_CHECK=1, $LLVM_LAZY_JIT_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_samples_wasm_c_api ($CLASSIC_INTERP_BUILD_OPTIONS, macos-13, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-macos-12.tar.gz, https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-20/wasi-sdk-20.0-macos.tar.gz) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_samples_wasm_c_api ($FAST_INTERP_BUILD_OPTIONS, macos-13, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-macos-12.tar.gz, https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-20/wasi-sdk-20.0-macos.tar.gz) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_samples_others (${{ needs.build_llvm_libraries_on_arm_macos.outputs.cache_key }}, macos-14, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-macos-12.tar.gz, https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-s… (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_samples_others (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, macos-13, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-macos-12.tar.gz, https://github.com/WebAssembly/wasi-sdk/releases/download/wasi… (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $AOT_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.com/WebA… (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $CLASSIC_INTERP_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://gith… (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $FAST_INTERP_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.… (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $FAST_JIT_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.com… (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -P) (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -S -P) (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -X -P) (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, classic-interp, -x -p -s spec -P) (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, fast-interp, -x -p -s spec -P) (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, fast-jit, -x -p -s spec -P) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $DEFAULT_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $MULTI_MODULES_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $THREADS_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $WASI_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $DEFAULT_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $MULTI_MODULES_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $THREADS_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $WASI_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
		
	 
 
	 
						
						Make wamrc normalize "arm64" to "aarch64v8". Previously the only way to
make the "arm64" target was to not specify a target on 64 bit arm-based
mac builds. Now arm64 and aarch64v8 are treated as the same.
Make aot_loader accept "aarch64v8" on arm-based apple (as well as
accepting legacy "arm64" based aot targets).
This also removes __APPLE__ and __MACH__ from the block that defaults
size_level to 1 since it doesn't seem to be supported for aarch64:
`LLVM ERROR: Only small, tiny and large code models are allowed on AArch64` 
						
					 
					
						2024-08-23 09:49:06 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1329e1d3e1 
							
						 
					 
					
						
						
							
							Add support for multi-memory proposal in classic interpreter ( #3742 )  
						
						... 
						
						
						
						Implement multi-memory for classic-interpreter. Support core spec (and bulk memory) opcodes now,
and will support atomic opcodes, and add multi-memory export APIs in the future. 
PS: Multi-memory spec test patched a lot for linking test to adapt for multi-module implementation. 
						
					 
					
						2024-08-21 12:22:23 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							581e1d9767 
							
						 
					 
					
						
						
							
							compilation: Use the dedicated stack-sizes section only for AOT ( #3732 )  
						
						... 
						
						
						
						For JIT, we naturally use mach-o on macOS, where the section name
we currently use is not valid and ends up with the errors like:
```
LLVM ERROR: Global variable '__orc_lcl.aot_stack_sizes.0' has an invalid section specifier '.aot_stack_sizes': mach-o section specifier requires a segment and section separated by a comma.
```
Because the dedicated section is not necessary for JIT,
this commit simply stops using it.
Fixes: https://github.com/bytecodealliance/wasm-micro-runtime/issues/3730  
						
					 
					
						2024-08-20 10:26:26 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							97c95a2e2f 
							
						 
					 
					
						
						
							
							Fix table idx resolving in op call_indirect/return_call_indirect ( #3726 )  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	compilation on SGX / build_iwasm (-DWAMR_DISABLE_HW_BOUND_CHECK=1, $FAST_JIT_BUILD_OPTIONS, ubuntu-20.04, linux-sgx) (push) Waiting to run 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $AOT_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.com/WebA… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $CLASSIC_INTERP_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://gith… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $FAST_INTERP_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $FAST_JIT_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.com… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -S -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -X -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, classic-interp, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, fast-interp, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, fast-jit, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_AOT=0) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_AOT=1 -DWAMR_BUILD_INTERP=0) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_CUSTOM_NAME_SECTION=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_DEBUG_INTERP=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_LIBC_UVWASI=0 -DWAMR_BUILD_LIBC_WASI=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_LIB_PTHREAD=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_LIB_WASI_THREADS=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_REF_TYPES=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_SIMD=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_TAIL_CALL=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_DISABLE_HW_BOUND_CHECK=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $DEFAULT_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $MULTI_MODULES_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $THREADS_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $WASI_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $DEFAULT_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $MULTI_MODULES_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $THREADS_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $WASI_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
		
	 
 
	 
						
						The table index in the call_indirect/return_call_indirect opcode should be
one byte 0x00 when ref-types/GC isn't enabled, and should be treated as
leb u32 when ref-types/GC is enabled.
And make aot compiler bail out if ref-types/GC is disabled by command line
argument while ref-types instructions are used. 
						
					 
					
						2024-08-19 10:57:36 +08:00 
						 
				 
			
				
					
						
							
							
								Huang Qi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4c127715df 
							
						 
					 
					
						
						
							
							aot compiler: Fix NaN handling for opcode f32/f64.const in XIP mode ( #3721 )  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_BUILD_TAIL_CALL=1, $FAST_INTERP_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_BUILD_TAIL_CALL=1, $LLVM_EAGER_JIT_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_BUILD_TAIL_CALL=1, $LLVM_LAZY_JIT_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_DISABLE_HW_BOUND_CHECK=1, $AOT_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_DISABLE_HW_BOUND_CHECK=1, $CLASSIC_INTERP_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_DISABLE_HW_BOUND_CHECK=1, $FAST_INTERP_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_DISABLE_HW_BOUND_CHECK=1, $LLVM_EAGER_JIT_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_DISABLE_HW_BOUND_CHECK=1, $LLVM_LAZY_JIT_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_samples_wasm_c_api ($CLASSIC_INTERP_BUILD_OPTIONS, macos-13, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-macos-12.tar.gz, https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-20/wasi-sdk-20.0-macos.tar.gz) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_samples_wasm_c_api ($FAST_INTERP_BUILD_OPTIONS, macos-13, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-macos-12.tar.gz, https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-20/wasi-sdk-20.0-macos.tar.gz) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_samples_others (${{ needs.build_llvm_libraries_on_arm_macos.outputs.cache_key }}, macos-14, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-macos-12.tar.gz, https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-s… (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_samples_others (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, macos-13, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-macos-12.tar.gz, https://github.com/WebAssembly/wasi-sdk/releases/download/wasi… (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $AOT_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.com/WebA… (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $CLASSIC_INTERP_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://gith… (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $FAST_INTERP_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.… (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $FAST_JIT_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.com… (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -P) (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -S -P) (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -X -P) (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, classic-interp, -x -p -s spec -P) (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, fast-interp, -x -p -s spec -P) (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, fast-jit, -x -p -s spec -P) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $DEFAULT_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $MULTI_MODULES_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $THREADS_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $WASI_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $DEFAULT_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $MULTI_MODULES_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $THREADS_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $WASI_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
		
	 
 
	 
						
						If the value of a float constant is an NaN, the aot compiler creates an alloca,
stores the converted i32 const into it and then loads f32 from it again, which
may introduce a relocation in the AOT file and is not allowed for XIP mode. 
						
					 
					
						2024-08-16 14:04:41 +08:00 
						 
				 
			
				
					
						
							
							
								TianlongLiang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							63df2cf02d 
							
						 
					 
					
						
						
							
							Update std atomic check and simd compatibility check for arc compiler ( #3716 )  
						
						
						
					 
					
						2024-08-16 10:12:23 +08:00 
						 
				 
			
				
					
						
							
							
								James Ring 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b845e2ede4 
							
						 
					 
					
						
						
							
							Add missing headers in bh_atomic.h and aot_llvm_extra.cpp ( #3715 )  
						
						
						
					 
					
						2024-08-16 06:56:49 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							740f499e9c 
							
						 
					 
					
						
						
							
							Fix potential memory leak in insert_native_symbol ( #3712 )  
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	compilation on SGX / build_iwasm (-DWAMR_DISABLE_HW_BOUND_CHECK=1, $FAST_JIT_BUILD_OPTIONS, ubuntu-20.04, linux-sgx) (push) Waiting to run 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $AOT_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.com/WebA… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $CLASSIC_INTERP_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://gith… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $FAST_INTERP_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $FAST_JIT_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.com… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -S -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -X -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, classic-interp, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, fast-interp, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, fast-jit, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_AOT=0) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_AOT=1 -DWAMR_BUILD_INTERP=0) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_CUSTOM_NAME_SECTION=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_DEBUG_INTERP=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_LIBC_UVWASI=0 -DWAMR_BUILD_LIBC_WASI=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_LIB_PTHREAD=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_LIB_WASI_THREADS=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_REF_TYPES=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_SIMD=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_TAIL_CALL=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_DISABLE_HW_BOUND_CHECK=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $DEFAULT_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $MULTI_MODULES_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $THREADS_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $WASI_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $DEFAULT_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $MULTI_MODULES_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $THREADS_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $WASI_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
		
	 
 
	 
						
					 
					
						2024-08-14 18:11:18 +08:00 
						 
				 
			
				
					
						
							
							
								Huang Qi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c3dd5598f6 
							
						 
					 
					
						
						
							
							Fix a compilation warning ( #3682 )  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_BUILD_TAIL_CALL=1, $FAST_INTERP_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_BUILD_TAIL_CALL=1, $LLVM_EAGER_JIT_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_BUILD_TAIL_CALL=1, $LLVM_LAZY_JIT_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_DISABLE_HW_BOUND_CHECK=1, $AOT_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_DISABLE_HW_BOUND_CHECK=1, $CLASSIC_INTERP_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_DISABLE_HW_BOUND_CHECK=1, $FAST_INTERP_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_DISABLE_HW_BOUND_CHECK=1, $LLVM_EAGER_JIT_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_DISABLE_HW_BOUND_CHECK=1, $LLVM_LAZY_JIT_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_samples_wasm_c_api ($CLASSIC_INTERP_BUILD_OPTIONS, macos-13, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-macos-12.tar.gz, https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-20/wasi-sdk-20.0-macos.tar.gz) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_samples_wasm_c_api ($FAST_INTERP_BUILD_OPTIONS, macos-13, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-macos-12.tar.gz, https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-20/wasi-sdk-20.0-macos.tar.gz) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_samples_others (${{ needs.build_llvm_libraries_on_arm_macos.outputs.cache_key }}, macos-14, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-macos-12.tar.gz, https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-s… (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_samples_others (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, macos-13, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-macos-12.tar.gz, https://github.com/WebAssembly/wasi-sdk/releases/download/wasi… (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $AOT_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.com/WebA… (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $CLASSIC_INTERP_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://gith… (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $FAST_INTERP_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.… (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $FAST_JIT_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.com… (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -P) (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -S -P) (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -X -P) (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, classic-interp, -x -p -s spec -P) (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, fast-interp, -x -p -s spec -P) (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, fast-jit, -x -p -s spec -P) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $DEFAULT_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $MULTI_MODULES_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $THREADS_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $WASI_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $DEFAULT_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $MULTI_MODULES_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $THREADS_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $WASI_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
		
	 
 
	 
						
						Fix:
```
wamr/core/iwasm/compilation/aot_llvm.c: In function ‘insert_native_symbol’:
wamr/core/iwasm/compilation/aot_llvm.c:3290:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
 3290 |     if (ret < 0 || ret + 1 > sizeof(sym->symbol)) {
      |                            ^
```
Signed-off-by: Huang Qi <huangqi3@xiaomi.com> 
						
					 
					
						2024-08-03 21:05:18 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2f147fae96 
							
						 
					 
					
						
						
							
							aot compiler: Bail out on too long native symbol names ( #3663 )  
						
						... 
						
						
						
						The old code was silently truncating long names. 
						
					 
					
						2024-07-25 11:38:29 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a055e0b26f 
							
						 
					 
					
						
						
							
							aot compiler: Enlarge AOTNativeSymbol->symbol ( #3662 )  
						
						... 
						
						
						
						The old value was not enough for wasm_externref_obj_to_internal_obj,
which is 34 characters long. 
						
					 
					
						2024-07-25 11:21:07 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							73caf19e69 
							
						 
					 
					
						
						
							
							Fix compile warnings/error reported in Windows ( #3616 )  
						
						... 
						
						
						
						Clear some compile warnings and fix undefined reference error for symbol ffs
in Windows platform. 
						
					 
					
						2024-07-12 16:43:22 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							867dbd8912 
							
						 
					 
					
						
						
							
							aot compiler: Propagate const-ness by ourselves ( #3567 )  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	compilation on SGX / build_iwasm (-DWAMR_DISABLE_HW_BOUND_CHECK=1, $FAST_JIT_BUILD_OPTIONS, ubuntu-20.04, linux-sgx) (push) Waiting to run 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $AOT_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.com/WebA… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $CLASSIC_INTERP_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://gith… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $FAST_INTERP_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $FAST_JIT_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.com… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -S -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -X -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, classic-interp, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, fast-interp, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, fast-jit, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_AOT=0) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_AOT=1 -DWAMR_BUILD_INTERP=0) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_CUSTOM_NAME_SECTION=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_DEBUG_INTERP=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_LIBC_UVWASI=0 -DWAMR_BUILD_LIBC_WASI=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_LIB_PTHREAD=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_LIB_WASI_THREADS=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_REF_TYPES=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_SIMD=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_TAIL_CALL=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_DISABLE_HW_BOUND_CHECK=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $DEFAULT_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $MULTI_MODULES_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $THREADS_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $WASI_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $DEFAULT_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $MULTI_MODULES_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $THREADS_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $WASI_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
		
	 
 
	 
						
						aot_load_const_from_table() hides the const-ness of the
value and prevents optimizations like
https://github.com/bytecodealliance/wasm-micro-runtime/pull/3552 .
This commit makes the aot compiler tracks the const-ness
of the value directly in the AOTValue and enables the above
mentioned optimization for XIP. 
						
					 
					
						2024-06-25 10:57:49 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e66b41427f 
							
						 
					 
					
						
						
							
							aot_resolve_target_info: Avoid in-place modification of e_type ( #3564 )  
						
						... 
						
						
						
						* I believe that LLVM MemoryBuffer interface is supposed to be read-only
  and it's allowed to use eg. read-only mmap of the underlying file.
  It isn't appropriate to modify the view at all.
* in case of WASM_ENABLE_DEBUG_AOT, the whole buffer is written as the text
  section of the aot file. the modified e_type would confuse dwarf consumers.
  note that, even when we are using XIP, the debug info usually contains
  relocations. for example, llvm-dwarfdump doesn't seem to perform relocations
  on .debug_info section for ET_CORE (== 4 == our E_TYPE_XIP) objects. 
						
					 
					
						2024-06-25 10:47:23 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4c2af25aff 
							
						 
					 
					
						
						
							
							aot compiler: Use larger alignment for load/store when possible ( #3552 )  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_BUILD_TAIL_CALL=1, $FAST_INTERP_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_BUILD_TAIL_CALL=1, $LLVM_EAGER_JIT_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_BUILD_TAIL_CALL=1, $LLVM_LAZY_JIT_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_DISABLE_HW_BOUND_CHECK=1, $AOT_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_DISABLE_HW_BOUND_CHECK=1, $CLASSIC_INTERP_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_DISABLE_HW_BOUND_CHECK=1, $FAST_INTERP_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_DISABLE_HW_BOUND_CHECK=1, $LLVM_EAGER_JIT_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_iwasm (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, -DWAMR_DISABLE_HW_BOUND_CHECK=1, $LLVM_LAZY_JIT_BUILD_OPTIONS, macos-13, darwin) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_samples_wasm_c_api ($CLASSIC_INTERP_BUILD_OPTIONS, macos-13, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-macos-12.tar.gz, https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-20/wasi-sdk-20.0-macos.tar.gz) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_samples_wasm_c_api ($FAST_INTERP_BUILD_OPTIONS, macos-13, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-macos-12.tar.gz, https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-20/wasi-sdk-20.0-macos.tar.gz) (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_samples_others (${{ needs.build_llvm_libraries_on_arm_macos.outputs.cache_key }}, macos-14, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-macos-12.tar.gz, https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-s… (push) Has been cancelled 
				
			 
		
			
				
	compilation on macos / build_samples_others (${{ needs.build_llvm_libraries_on_intel_macos.outputs.cache_key }}, macos-13, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-macos-12.tar.gz, https://github.com/WebAssembly/wasi-sdk/releases/download/wasi… (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $AOT_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.com/WebA… (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $CLASSIC_INTERP_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://gith… (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $FAST_INTERP_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.… (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $FAST_JIT_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.com… (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -P) (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -S -P) (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -X -P) (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, classic-interp, -x -p -s spec -P) (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, fast-interp, -x -p -s spec -P) (push) Has been cancelled 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, fast-jit, -x -p -s spec -P) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $DEFAULT_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $MULTI_MODULES_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $THREADS_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $WASI_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $DEFAULT_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $MULTI_MODULES_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $THREADS_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $WASI_TEST_OPTIONS) (push) Has been cancelled 
				
			 
		
		
	 
 
	 
						
						Consider the following wasm module:
```wast
(module
  (func (export "foo")
    i32.const 0x104
    i32.const 0x12345678
    i32.store
  )
  (memory 1 1)
)
```
While the address (0x104) is perfectly aligned for i32.store,
as our aot compiler uses 1-byte alignment for load/store LLVM
IR instructions, it often produces inefficient machine code,
especially for alignment-sensitive targets.
For example, the above "foo" function is compiled into the
following xtensa machine code.
```
0000002c <aot_func_internal#0>:
  2c:   004136          entry   a1, 32
  2f:   07a182          movi    a8, 0x107
  32:   828a            add.n   a8, a2, a8
  34:   291c            movi.n  a9, 18
  36:   004892          s8i     a9, a8, 0
  39:   06a182          movi    a8, 0x106
  3c:   828a            add.n   a8, a2, a8
  3e:   ffff91          l32r    a9, 3c <aot_func_internal#0+0x10> (ff91828a <aot_func_internal#0+0xff91825e>)
                        3e: R_XTENSA_SLOT0_OP   .literal+0x8
  41:   004892          s8i     a9, a8, 0
  44:   05a182          movi    a8, 0x105
  47:   828a            add.n   a8, a2, a8
  49:   ffff91          l32r    a9, 48 <aot_func_internal#0+0x1c> (ffff9182 <aot_func_internal#0+0xffff9156>)
                        49: R_XTENSA_SLOT0_OP   .literal+0xc
  4c:   41a890          srli    a10, a9, 8
  4f:   0048a2          s8i     a10, a8, 0
  52:   04a182          movi    a8, 0x104
  55:   828a            add.n   a8, a2, a8
  57:   004892          s8i     a9, a8, 0
  5a:   f01d            retw.n
```
Note that the each four bytes are stored separately using
one-byte-store instruction, s8i.
This commit tries to use larger alignments for load/store LLVM IR
instructions when possible.  with this commit, the above example is
compiled into the following machine code, which seems more reasonable.
```
0000002c <aot_func_internal#0>:
  2c:   004136          entry   a1, 32
  2f:   ffff81          l32r    a8, 2c <aot_func_internal#0> (81004136 <aot_func_internal#0+0x8100410a>)
                        2f: R_XTENSA_SLOT0_OP   .literal+0x8
  32:   416282          s32i    a8, a2, 0x104
  35:   f01d            retw.n
```
Note: this doesn't work well for --xip because aot_load_const_from_table()
hides the constness of the value. Maybe we need our own mechanism to
propagate the constness and the value. 
						
					 
					
						2024-06-22 10:32:52 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9b9e938bee 
							
						 
					 
					
						
						
							
							Fix compilation errors ( #3549 )  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	compilation on SGX / build_iwasm (-DWAMR_DISABLE_HW_BOUND_CHECK=1, $FAST_JIT_BUILD_OPTIONS, ubuntu-20.04, linux-sgx) (push) Waiting to run 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $AOT_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.com/WebA… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $CLASSIC_INTERP_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://gith… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $FAST_INTERP_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $FAST_JIT_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.com… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -S -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -X -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, classic-interp, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, fast-interp, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, fast-jit, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_AOT=0) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_AOT=1 -DWAMR_BUILD_INTERP=0) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_CUSTOM_NAME_SECTION=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_DEBUG_INTERP=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_LIBC_UVWASI=0 -DWAMR_BUILD_LIBC_WASI=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_LIB_PTHREAD=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_LIB_WASI_THREADS=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_REF_TYPES=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_SIMD=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_TAIL_CALL=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_DISABLE_HW_BOUND_CHECK=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $DEFAULT_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $MULTI_MODULES_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $THREADS_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $WASI_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $DEFAULT_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $MULTI_MODULES_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $THREADS_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $WASI_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
		
	 
 
	 
						
						The compilation errors were introduced by #3515  and occur in debug building
when wasm mini loader is compiled or GC is enabled.
And remove two wasm files in standalone test-running-modes case,
which will be generated by run.sh. 
						
					 
					
						2024-06-20 12:33:52 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a16da4f874 
							
						 
					 
					
						
						
							
							dwarf_extractor.cpp: Try to preserve link name ( #3542 )  
						
						... 
						
						
						
						mainly for C++. 
						
					 
					
						2024-06-19 16:51:44 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7f94d183ac 
							
						 
					 
					
						
						
							
							dwarf_extractor.cpp: Fix buffer overruns ( #3541 )  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	compilation on SGX / build_iwasm (-DWAMR_DISABLE_HW_BOUND_CHECK=1, $FAST_JIT_BUILD_OPTIONS, ubuntu-20.04, linux-sgx) (push) Waiting to run 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $AOT_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.com/WebA… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $CLASSIC_INTERP_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://gith… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $FAST_INTERP_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $FAST_JIT_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.com… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -S -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -X -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, classic-interp, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, fast-interp, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, fast-jit, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_AOT=0) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_AOT=1 -DWAMR_BUILD_INTERP=0) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_CUSTOM_NAME_SECTION=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_DEBUG_INTERP=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_LIBC_UVWASI=0 -DWAMR_BUILD_LIBC_WASI=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_LIB_PTHREAD=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_LIB_WASI_THREADS=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_REF_TYPES=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_SIMD=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_TAIL_CALL=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_DISABLE_HW_BOUND_CHECK=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $DEFAULT_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $MULTI_MODULES_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $THREADS_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $WASI_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $DEFAULT_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $MULTI_MODULES_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $THREADS_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $WASI_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
		
	 
 
	 
						
						Probably it's better to skip the optimized out parameters.
(that is, parameters w/o locations)
However, I'm not sure how/if it can be done with the lldb api.
For now, just disable parameter processing to avoid crashes. 
						
					 
					
						2024-06-19 16:19:57 +08:00 
						 
				 
			
				
					
						
							
							
								Benbuck Nason 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3746534010 
							
						 
					 
					
						
						
							
							Add table type API support ( #3515 )  
						
						... 
						
						
						
						Add `wasm_runtime_get_export_table_inst` and `wasm_table_get_func_inst`,
and related wasm_table_type_get_xxx APIs. 
						
					 
					
						2024-06-19 14:50:46 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							72f74b7b51 
							
						 
					 
					
						
						
							
							dwarf_extractor.cpp: Enable limited support for C++ ( #3540 )  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	compilation on SGX / build_iwasm (-DWAMR_DISABLE_HW_BOUND_CHECK=1, $FAST_JIT_BUILD_OPTIONS, ubuntu-20.04, linux-sgx) (push) Waiting to run 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $AOT_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.com/WebA… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $CLASSIC_INTERP_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://gith… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $FAST_INTERP_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $FAST_JIT_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.com… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -S -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -X -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, classic-interp, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, fast-interp, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, fast-jit, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_AOT=0) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_AOT=1 -DWAMR_BUILD_INTERP=0) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_CUSTOM_NAME_SECTION=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_DEBUG_INTERP=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_LIBC_UVWASI=0 -DWAMR_BUILD_LIBC_WASI=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_LIB_PTHREAD=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_LIB_WASI_THREADS=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_REF_TYPES=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_SIMD=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_TAIL_CALL=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_DISABLE_HW_BOUND_CHECK=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $DEFAULT_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $MULTI_MODULES_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $THREADS_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $WASI_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $DEFAULT_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $MULTI_MODULES_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $THREADS_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $WASI_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
		
	 
 
	 
						
						While band-aid fixes like this is not plausible IMO,
some people prefer to have some debug info even if it's
partial/limited/broken. This commit partially (re)enables
C++ processing. On the other hand, do not bother to process
variables because it's known incompatible with C++. 
						
					 
					
						2024-06-18 15:42:56 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f096b2fa38 
							
						 
					 
					
						
						
							
							wamrc: Fix truncated DW_AT_producer ( #3537 )  
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	compilation on SGX / build_iwasm (-DWAMR_DISABLE_HW_BOUND_CHECK=1, $FAST_JIT_BUILD_OPTIONS, ubuntu-20.04, linux-sgx) (push) Waiting to run 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $AOT_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.com/WebA… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $CLASSIC_INTERP_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://gith… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $FAST_INTERP_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / run_samples_file (-DWAMR_BUILD_SGX_IPFS=1, $FAST_JIT_BUILD_OPTIONS, ${{ needs.build_llvm_libraries.outputs.cache_key }}, ubuntu-20.04, linux-sgx, https://github.com/WebAssembly/wabt/releases/download/1.0.31/wabt-1.0.31-ubuntu.tar.gz, https://github.com… (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -S -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, aot, -x -p -s spec -X -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, classic-interp, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, fast-interp, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on SGX / spec_test_default (${{ needs.build_llvm_libraries.outputs.cache_key }}, fast-jit, -x -p -s spec -P) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_AOT=0) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_AOT=1 -DWAMR_BUILD_INTERP=0) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_CUSTOM_NAME_SECTION=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_DEBUG_INTERP=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_LIBC_UVWASI=0 -DWAMR_BUILD_LIBC_WASI=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_LIB_PTHREAD=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_LIB_WASI_THREADS=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_REF_TYPES=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_SIMD=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_BUILD_TAIL_CALL=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / build (-DWAMR_DISABLE_HW_BOUND_CHECK=1) (push) Waiting to run 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $DEFAULT_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $MULTI_MODULES_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $THREADS_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (classic-interp, $WASI_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $DEFAULT_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $MULTI_MODULES_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $THREADS_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
			
				
	compilation on windows-latest / test (fast-interp, $WASI_TEST_OPTIONS) (push) Blocked by required conditions 
				
			 
		
		
	 
 
	 
						
					 
					
						2024-06-17 18:02:12 +08:00 
						 
				 
			
				
					
						
							
							
								Xenia Lu 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ad5d31b9b0 
							
						 
					 
					
						
						
							
							Expose more functions related to emitting AOT files ( #3520 )  
						
						... 
						
						
						
						- Add declarations related to emitting AOT files into a separate header file
  named `aot_emit_aot_file.h`
- Add API `aot_emit_aot_file_buf_ex` and refactor `aot_emit_aot_file_buf` to call it
- Expose some APIs in aot_export.h 
						
					 
					
						2024-06-14 15:57:45 +08:00 
						 
				 
			
				
					
						
							
							
								Benbuck Nason 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8239dd4aa7 
							
						 
					 
					
						
						
							
							Add wasm_export.h APIs to expose memory type ( #3496 )  
						
						... 
						
						
						
						Support to get `wasm_memory_type_t memory_type` from API
`wasm_runtime_get_import_type` and `wasm_runtime_get_export_type`,
and then get shared flag, initial page cout, maximum page count
from the memory_type:
```C
bool
wasm_memory_type_get_shared(const wasm_memory_type_t memory_type);
uint32_t
wasm_memory_type_get_init_page_count(const wasm_memory_type_t memory_type);
uint32_t
wasm_memory_type_get_max_page_count(const wasm_memory_type_t memory_type);
``` 
						
					 
					
						2024-06-06 09:20:24 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							23e1d51587 
							
						 
					 
					
						
						
							
							Fix loader parse block type and calculate dynamic offset for loop args ( #3482 )  
						
						... 
						
						
						
						Fix several issues in wasm loader:
- Parse a block's type index with leb int32 instead leb uint32
- Correct dst dynamic offset of loop block arguments for opcode br
  when copying the stack operands to the arguments of loop block
- Free each frame_csp's param_frame_offsets when destroy loader ctx
- Fix compilation error in wasm_mini_loader.c
- Add test cases of failed issues
This PR fixes issue #3467  and #3468 . 
						
					 
					
						2024-05-31 11:32:36 +08:00 
						 
				 
			
				
					
						
							
							
								TianlongLiang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							30ed97cddc 
							
						 
					 
					
						
						
							
							Fix several typos and fix bh_log calculate mills ( #3441 )  
						
						
						
					 
					
						2024-05-20 15:54:01 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							456e2f6919 
							
						 
					 
					
						
						
							
							aot compiler: Fix a type mismatch in compile_op_float_min_max ( #3423 )  
						
						... 
						
						
						
						Fixes https://github.com/bytecodealliance/wasm-micro-runtime/issues/3422  
						
					 
					
						2024-05-14 10:06:48 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8f098a5905 
							
						 
					 
					
						
						
							
							aot: Make precheck functions use short-call for xtensa ( #3418 )  
						
						... 
						
						
						
						Note: this breaks AOT ABI for xtensa again because of a revert of an ABI-breaking change. 
						
					 
					
						2024-05-13 16:55:00 +08:00 
						 
				 
			
				
					
						
							
							
								Marcin Kolny 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fe5e7a9981 
							
						 
					 
					
						
						
							
							Implement Memory64 support for AOT ( #3362 )  
						
						... 
						
						
						
						Refer to:
https://github.com/bytecodealliance/wasm-micro-runtime/pull/3266 
https://github.com/bytecodealliance/wasm-micro-runtime/issues/3091  
						
					 
					
						2024-05-13 11:03:38 +08:00 
						 
				 
			
				
					
						
							
							
								Benbuck Nason 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c85bada2a9 
							
						 
					 
					
						
						
							
							Add wasm module global type information APIs ( #3406 )  
						
						... 
						
						
						
						Support getting global type from `wasm_runtime_get_import_type` and
`wasm_runtime_get_export_type`, and add two APIs:
```C
wasm_valkind_t
wasm_global_type_get_valkind(const wasm_global_type_t global_type);
bool
wasm_global_type_get_mutable(const wasm_global_type_t global_type);
``` 
						
					 
					
						2024-05-10 09:15:58 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							46f83cf486 
							
						 
					 
					
						
						
							
							core/iwasm/compilation: Remove stale function prototypes ( #3408 )  
						
						
						
					 
					
						2024-05-09 16:55:32 +08:00 
						 
				 
			
				
					
						
							
							
								Benbuck Nason 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1c2a8fca4e 
							
						 
					 
					
						
						
							
							Fix some more spelling issues ( #3393 )  
						
						
						
					 
					
						2024-05-08 09:30:29 +08:00 
						 
				 
			
				
					
						
							
							
								Benbuck Nason 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ca61184ced 
							
						 
					 
					
						
						
							
							Fix some spelling issues ( #3385 )  
						
						... 
						
						
						
						Fix some of the spelling issues found by CSpell. 
						
					 
					
						2024-05-06 07:56:48 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							835188cc53 
							
						 
					 
					
						
						
							
							aot compiler: Fix the length type passed to aot_memmove/aot_memset ( #3378 )  
						
						... 
						
						
						
						The current length type of aot_memmove/aot_memset is size_t, and on
a 64 bit host it is uint64, while what the aot code passes to it is uint32,
this might lead to unexpected behavior.
ps. https://github.com/bytecodealliance/wasm-micro-runtime/pull/3376 . 
						
					 
					
						2024-05-01 21:40:52 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							68bd30c6f9 
							
						 
					 
					
						
						
							
							Enhance GC subtyping checks ( #3317 )  
						
						... 
						
						
						
						Enhance the GC subtyping checks:
- Fix issues in the type equivalence check
- Enable the recursive type subtyping check
- Add a equivalence type flag in defined types of aot file, if there is an
  equivalence type before, just set it true and re-use the previous type
- Normalize the defined types for interpreter and AOT
- Enable spec test case type-equivalence.wast and type-subtyping.wast,
  and enable some commented cases
- Enable set WAMR_BUILD_SANITIZER from cmake variable 
						
					 
					
						2024-04-18 12:32:01 +08:00 
						 
				 
			
				
					
						
							
							
								liang.he 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bcc2a2d2e1 
							
						 
					 
					
						
						
							
							Sync simd opcode definitions spec ( #3290 )  
						
						... 
						
						
						
						Remove undefined simd opcodes. 
						
					 
					
						2024-04-09 16:54:42 +08:00 
						 
				 
			
				
					
						
							
							
								liang.he 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4ef724bbff 
							
						 
					 
					
						
						
							
							Enhance wasm loading with LoadArgs and support module names ( #3265 )  
						
						... 
						
						
						
						- Add new API wasm_runtime_load_ex() in wasm_export.h
  and wasm_module_new_ex in wasm_c_api.h
- Put aot_create_perf_map() into a separated file aot_perf_map.c
- In perf.map, function names include user specified module name
- Enhance the script to help flamegraph generations 
						
					 
					
						2024-04-07 15:04:35 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2013f1f7d7 
							
						 
					 
					
						
						
							
							Fix warnings/issues reported in Windows and by CodeQL/Coverity ( #3275 )  
						
						... 
						
						
						
						Fix the warnings and issues reported:
- in Windows platform
- by CodeQL static code analyzing
- by Coverity static code analyzing
And update CodeQL script to build exception handling and memory features. 
						
					 
					
						2024-04-07 11:57:31 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							53f0941ffa 
							
						 
					 
					
						
						
							
							Revert "lldb_function_to_function_dbi: A hack to avoid crashing on C++ methods ( #3190 )" ( #3281 )  
						
						... 
						
						
						
						This reverts commit 0e8d949440 
						
					 
					
						2024-04-06 15:00:48 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b4cab84e5f 
							
						 
					 
					
						
						
							
							aot debug: Process lldb_function_to_function_dbi only for C ( #3278 )  
						
						... 
						
						
						
						This is a workaroud for:
https://github.com/bytecodealliance/wasm-micro-runtime/issues/3187 
https://github.com/bytecodealliance/wasm-micro-runtime/issues/3163  
						
					 
					
						2024-04-03 18:03:31 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							dae09c0e03 
							
						 
					 
					
						
						
							
							aot debug: Fix a NULL dereference ( #3274 )  
						
						... 
						
						
						
						It happens on eg. a C function taking a structure argument. 
						
					 
					
						2024-04-03 17:10:46 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4806e4e298 
							
						 
					 
					
						
						
							
							LLVM 19: Switch to debug records ( #3272 )  
						
						... 
						
						
						
						References:
    https://llvm.org/docs/RemoveDIsDebugInfo.html 
    https://github.com/llvm/llvm-project/pull/86529  
						
					 
					
						2024-04-02 16:00:43 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6b0b5de1c5 
							
						 
					 
					
						
						
							
							aot debug: Fix a few NULL dereferences on errors ( #3273 )  
						
						
						
					 
					
						2024-04-02 14:30:08 +08:00 
						 
				 
			
				
					
						
							
							
								liang.he 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							498eb5d54a 
							
						 
					 
					
						
						
							
							Append \0 to every name string in aot name section ( #3249 )  
						
						... 
						
						
						
						Since strings in .name section in .wasm is not c-style, need to append
a `\0` to each string in .name section in AOT file when emitting. 
						
					 
					
						2024-03-26 14:27:20 +08:00 
						 
				 
			
				
					
						
							
							
								liang.he 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d8d8f8ce04 
							
						 
					 
					
						
						
							
							Implement apis to set and get the name of a wasm module ( #3254 )  
						
						... 
						
						
						
						Add API wasm_runtime_set_module_name and wasm_runtime_get_module_name,
and by default, a module's name is "" if the set module name api isn't called. 
						
					 
					
						2024-03-26 12:10:13 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ff296c1a62 
							
						 
					 
					
						
						
							
							Fix aot relocation symbols not found on windows 32-bit ( #3231 )  
						
						... 
						
						
						
						The symbols in windows 32-bit may start with '_' and can not be found
when resolving the relocations to them. This PR ignores the underscore
when handling the relocation name of AOT_FUNC_INTERNAL_PREFIX, and
redirect the relocation with name "_aot_stack_sizes" to the relocation with
name ".aot_stack_sizes" (the name of the data section created).
ps.
https://github.com/bytecodealliance/wasm-micro-runtime/issues/3216  
						
					 
					
						2024-03-18 09:51:38 +08:00 
						 
				 
			
				
					
						
							
							
								TianlongLiang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c3e33a96ea 
							
						 
					 
					
						
						
							
							Remove unused argument in wasm_runtime_lookup_function and refactor WASMModuleInstance ( #3218 )  
						
						... 
						
						
						
						Remove the unused parameter `signature` from `wasm_runtime_lookup_function`.
Refactor the layout of WASMModuleInstance structure:
- move common data members `c_api_func_imports` and `cur_exec_env` from
  `WASMModuleInstanceExtraCommon` to `WASMModuleInstance`
- In `WASMModuleInstance`, enlarge `reserved[3]` to `reserved[5]` in case that
  we need to add more fields in the future
ps.
https://github.com/bytecodealliance/wasm-micro-runtime/issues/2530 
https://github.com/bytecodealliance/wasm-micro-runtime/issues/3202  
						
					 
					
						2024-03-13 12:28:45 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0ee5ffce85 
							
						 
					 
					
						
						
							
							Refactor APIs and data structures as preliminary work for Memory64 ( #3209 )  
						
						... 
						
						
						
						# Change the data type representing linear memory address from u32 to u64
## APIs signature changes
- (Export)wasm_runtime_module_malloc
  - wasm_module_malloc
    - wasm_module_malloc_internal
  - aot_module_malloc
    - aot_module_malloc_internal
- wasm_runtime_module_realloc
  - wasm_module_realloc
    - wasm_module_realloc_internal
  - aot_module_realloc
    - aot_module_realloc_internal
- (Export)wasm_runtime_module_free
  - wasm_module_free
    - wasm_module_free_internal
  - aot_module_malloc
    - aot_module_free_internal
- (Export)wasm_runtime_module_dup_data
  - wasm_module_dup_data
  - aot_module_dup_data
- (Export)wasm_runtime_validate_app_addr
- (Export)wasm_runtime_validate_app_str_addr
- (Export)wasm_runtime_validate_native_addr
- (Export)wasm_runtime_addr_app_to_native
- (Export)wasm_runtime_addr_native_to_app
- (Export)wasm_runtime_get_app_addr_range
- aot_set_aux_stack
- aot_get_aux_stack
- wasm_set_aux_stack
- wasm_get_aux_stack
- aot_check_app_addr_and_convert, wasm_check_app_addr_and_convert
  and jit_check_app_addr_and_convert
- wasm_exec_env_set_aux_stack
- wasm_exec_env_get_aux_stack
- wasm_cluster_create_thread
- wasm_cluster_allocate_aux_stack
- wasm_cluster_free_aux_stack
## Data structure changes
- WASMModule and AOTModule
  - field aux_data_end, aux_heap_base and aux_stack_bottom
- WASMExecEnv
  - field aux_stack_boundary and aux_stack_bottom
- AOTCompData
  - field aux_data_end, aux_heap_base and aux_stack_bottom
- WASMMemoryInstance(AOTMemoryInstance)
  - field memory_data_size and change __padding to is_memory64
- WASMModuleInstMemConsumption
  - field total_size and memories_size
- WASMDebugExecutionMemory
  - field start_offset and current_pos
- WASMCluster
  - field stack_tops
## Components that are affected by the APIs and data structure changes
- libc-builtin
- libc-emcc
- libc-uvwasi
- libc-wasi
- Python and Go Language Embedding
- Interpreter Debug engine
- Multi-thread: lib-pthread, wasi-threads and thread manager 
						
					 
					
						2024-03-12 11:38:50 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b6216a5f8a 
							
						 
					 
					
						
						
							
							Fix ip (bytecode offset) not committed into the latest aot frame ( #3213 )  
						
						
						
					 
					
						2024-03-11 18:11:43 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0e8d949440 
							
						 
					 
					
						
						
							
							lldb_function_to_function_dbi: A hack to avoid crashing on C++ methods ( #3190 )  
						
						... 
						
						
						
						Also, print the function name on argument mismatch. 
						
					 
					
						2024-03-04 17:08:11 +08:00 
						 
				 
			
				
					
						
							
							
								TianlongLiang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cd63b3b8f2 
							
						 
					 
					
						
						
							
							Fix LLVM assertion failure and update CONTRIBUTING.md ( #3197 )  
						
						... 
						
						
						
						The issue was reported in https://github.com/bytecodealliance/wasm-micro-runtime/issues/3188 . 
						
					 
					
						2024-03-04 09:01:40 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							503c9694c8 
							
						 
					 
					
						
						
							
							lldb_function_to_function_dbi: Fix a null dereference ( #3189 )  
						
						... 
						
						
						
						C++ allows unnamed arguments.
In the debug info, they are represented as DW_TAG_formal_parameter
w/o DW_AT_name.
variable.GetName() here returns NULL for them.
cf. https://github.com/bytecodealliance/wasm-micro-runtime/issues/3187  
						
					 
					
						2024-02-29 14:03:49 +08:00 
						 
				 
			
				
					
						
							
							
								dongsheng28849455 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4f6d70bc52 
							
						 
					 
					
						
						
							
							Use indirect call in pre-checker function to avoid relocation in XIP mode ( #3142 )  
						
						... 
						
						
						
						The stack profiler `aot_func#xxx` calls the wrapped function of `aot_func_internal#xxx`
by using symbol reference,  but in some platform like xtensa, it’s translated into a native
long call, which needs to resolve the indirect address by relocation and breaks the XIP
feature which requires the eliminating of relocation.
The solution is to change the symbol reference into an indirect call through the lookup
table, the code will be like this:
```llvm
call_wrapped_func:                                ; preds = %stack_bound_check_block
  %func_addr1 = getelementptr inbounds ptr, ptr %func_ptrs_ptr, i32 75
  %func_tmp2 = load ptr, ptr %func_addr1, align 4
  tail call void %func_tmp2(ptr %exec_env)
  ret void
``` 
						
					 
					
						2024-02-27 11:17:57 +08:00 
						 
				 
			
				
					
						
							
							
								Huang Qi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							94db327f06 
							
						 
					 
					
						
						
							
							Add comments to suppress warning from wamrc ( #3175 )  
						
						
						
					 
					
						2024-02-22 18:57:00 +08:00 
						 
				 
			
				
					
						
							
							
								Huang Qi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1429d8cc03 
							
						 
					 
					
						
						
							
							Fix inconsistent coding convention ( #3171 )  
						
						
						
					 
					
						2024-02-22 10:40:50 +08:00 
						 
				 
			
				
					
						
							
							
								TianlongLiang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							58c980c4df 
							
						 
					 
					
						
						
							
							Fix llvm jit push funcref/externref result type issue ( #3169 )  
						
						... 
						
						
						
						When dealing with non-gc enabled funcref/externref, need to make sure
to push them as i32 type. 
						
					 
					
						2024-02-21 12:15:18 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3a0e86454e 
							
						 
					 
					
						
						
							
							fast-interp: Fix GC opcode ref.as_non_null ( #3156 )  
						
						... 
						
						
						
						The issue was found in https://github.com/bytecodealliance/wasm-micro-runtime/issues/3151 . 
						
					 
					
						2024-02-17 11:54:49 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							16a4d71b34 
							
						 
					 
					
						
						
							
							Implement GC (Garbage Collection) feature for interpreter, AOT and LLVM-JIT ( #3125 )  
						
						... 
						
						
						
						Implement the GC (Garbage Collection) feature for interpreter mode,
AOT mode and LLVM-JIT mode, and support most features of the latest
spec proposal, and also enable the stringref feature.
Use `cmake -DWAMR_BUILD_GC=1/0` to enable/disable the feature,
and `wamrc --enable-gc` to generate the AOT file with GC supported.
And update the AOT file version from 2 to 3 since there are many AOT
ABI breaks, including the changes of AOT file format, the changes of
AOT module/memory instance layouts, the AOT runtime APIs for the
AOT code to invoke and so on. 
						
					 
					
						2024-02-06 20:47:11 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5931aaacbe 
							
						 
					 
					
						
						
							
							aot compiler: Place precheck wrapper before the corresponding wrapped function ( #3141 )  
						
						... 
						
						
						
						This increases the chance to use "short" calls.
Assumptions:
- LLVM preserves the order of functions in a module
- The wrapper function are smaller than the wrapped functions
- The target CPU has "short" PC-relative variation of call/jmp instructions
  and they are preferrable over the "long" ones.
A motivation:
- To avoid some relocations for XIP, I want to use xtensa PC-relative
  call instructions, which can only reach ~512KB. 
						
					 
					
						2024-02-06 15:05:32 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6e547baf46 
							
						 
					 
					
						
						
							
							aot_compile_op_call: Stop setting calling convention explicitly ( #3140 )  
						
						... 
						
						
						
						The current logic doesn't work for some cases.
cf. https://github.com/bytecodealliance/wasm-micro-runtime/issues/3138 
It's unclear why we are setting the calling convention explicitly here
at all. In many cases, the default just seems working. 
						
					 
					
						2024-02-06 13:14:25 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2eb60060d8 
							
						 
					 
					
						
						
							
							Fix read and validation of misc/simd/atomic sub opcodes ( #3115 )  
						
						... 
						
						
						
						The format of sub opcodes after misc, simd and atomic prefix is leb u32.
The issue was found in #2921 . 
						
					 
					
						2024-02-02 12:03:58 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7e65f9a244 
							
						 
					 
					
						
						
							
							aot: Fix LLVMSetTailCallKind check ( #3099 )  
						
						
						
					 
					
						2024-01-30 20:50:33 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bc35602004 
							
						 
					 
					
						
						
							
							Fix aot large model (--size-level=0) with LLVM 18 ( #3057 )  
						
						... 
						
						
						
						The recent versions LLVM uses ".ltext" section for X86 large model.
cf. d8a04398f9https://github.com/bytecodealliance/wasm-micro-runtime/issues/3034  
						
					 
					
						2024-01-19 19:43:41 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							837b9904f5 
							
						 
					 
					
						
						
							
							aot debug: Try to use a bit more appropriate file names ( #3000 )  
						
						... 
						
						
						
						When the original wasm contains multiple compilation units, the current
logic uses the first one for everything. This commit tries to use a bit more
appropriate ones. 
						
					 
					
						2024-01-15 15:02:12 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							23d2e0627c 
							
						 
					 
					
						
						
							
							Clear compilation warning and dead code ( #3002 )  
						
						
						
					 
					
						2024-01-13 08:56:39 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							08442458b1 
							
						 
					 
					
						
						
							
							aot debug: Update DW_AT_producer ( #3001 )  
						
						... 
						
						
						
						Currently we are using "ant compiler", which is a bit historical.
This commit changes it to use "WAMR AoT compiler" instead. 
						
					 
					
						2024-01-12 13:43:18 +08:00 
						 
				 
			
				
					
						
							
							
								liang.he 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9121db5671 
							
						 
					 
					
						
						
							
							Fix a bug when emit the custom name section to aot file ( #2987 )  
						
						... 
						
						
						
						The content in custom name section is changed after loaded since the strings
are adjusted with '\0' appended, the emitted AOT file then cannot be loaded.
The PR disables changing the content for AOT compiler to resolve it.
And disable emitting custom name section for `wamrc --enable-dump-call-stack`,
instead, use `wamrc --emit-custom-sections=name` to emit it. 
						
					 
					
						2024-01-11 13:14:54 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b21f17dd6d 
							
						 
					 
					
						
						
							
							Refine AOT/JIT code call wasm-c-api import process ( #2982 )  
						
						... 
						
						
						
						Allow to invoke the quick call entry wasm_runtime_quick_invoke_c_api_import to
call the wasm-c-api import functions to speedup the calling process, which reduces
the data copying.
Use `wamrc --invoke-c-api-import` to generate the optimized AOT code, and set
`jit_options->quick_invoke_c_api_import` true in wasm_engine_new when LLVM JIT
is enabled. 
						
					 
					
						2024-01-10 18:37:02 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							722381fcf2 
							
						 
					 
					
						
						
							
							aot compiler: Some updates for LLVM 18 ( #2981 )  
						
						... 
						
						
						
						Note: This commit includes copy-and-paste from LLVM and thus adds
the LLVM copyright notice.
cf. 0a1aa6cda2a1e9777b7656c72c7f33 
						
					 
					
						2024-01-08 10:15:31 +08:00 
						 
				 
			
				
					
						
							
							
								liutao 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							75a2b98eb4 
							
						 
					 
					
						
						
							
							simd-128: The input lanes of integer-to-integer narrowing ops should be interpreted as signed ( #2850 )  
						
						... 
						
						
						
						https://github.com/WebAssembly/spec/blob/main/proposals/simd/SIMD.md#integer-to-integer-narrowing  
					
						2024-01-03 09:51:58 +08:00 
						 
				 
			
				
					
						
							
							
								liang.he 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5c3ad0279a 
							
						 
					 
					
						
						
							
							Enable AOT linux perf support ( #2930 )  
						
						... 
						
						
						
						And refactor the original perf support
- use WAMR_BUILD_LINUX_PERF as the cmake compilation control
- use WASM_ENABLE_LINUX_PERF as the compiler macro
- use `wamrc --enable-linux-perf` to generate aot file which contains fp operations
- use `iwasm --enable-linux-perf` to create perf map for `perf record` 
						
					 
					
						2024-01-02 15:58:17 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5a75c31c38 
							
						 
					 
					
						
						
							
							Add VectorCombine pass for JIT and AOT ( #2923 )  
						
						... 
						
						
						
						It improves performance for some cases.
And add several vectorize related passes for JIT mode. 
						
					 
					
						2023-12-26 11:27:20 +08:00 
						 
				 
			
				
					
						
							
							
								Daniel Mangum 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9779f922b9 
							
						 
					 
					
						
						
							
							Fix boundary check typo in AOT compiler context ( #2913 )  
						
						... 
						
						
						
						Fixes typo in docstrings for boundary check in the AOT compiler context.
Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com> 
						
					 
					
						2023-12-20 09:08:13 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							67a887e2d3 
							
						 
					 
					
						
						
							
							Fix compilation warnings on Windows ( #2868 )  
						
						
						
					 
					
						2023-12-06 16:12:33 +08:00 
						 
				 
			
				
					
						
							
							
								Huang Qi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e350e65b12 
							
						 
					 
					
						
						
							
							Don't add "+d" to riscv cpu features if already given ( #2855 )  
						
						
						
					 
					
						2023-12-04 17:00:21 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b0d5b8df1d 
							
						 
					 
					
						
						
							
							Fix issues of build/run with llvm-17 ( #2853 )  
						
						... 
						
						
						
						- Fix compilation error of using PGOOptions
- Fix LLVM JIT run error due to `llvm_orc_registerEHFrameSectionWrapper`
  symbol not found 
						
					 
					
						2023-12-04 16:40:54 +08:00 
						 
				 
			
				
					
						
							
							
								liang.he 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8aa813f44a 
							
						 
					 
					
						
						
							
							Generate jitdump to support linux perf for LLVM JIT ( #2788 )  
						
						
						
					 
					
						2023-11-27 15:42:00 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							103cb89593 
							
						 
					 
					
						
						
							
							aot compiler: Fix handle next reachable if block ( #2793 )  
						
						... 
						
						
						
						The popped reachable block may be if block whose else branch hasn't been
translated, and should push the params for the else block if there are.
And use LLVMDisposeMessage to free memory allocated in is_win_platform. 
						
					 
					
						2023-11-20 17:14:10 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							562a5dd1b6 
							
						 
					 
					
						
						
							
							Fix data/elem drop ( #2747 )  
						
						... 
						
						
						
						Currently, `data.drop` instruction is implemented by directly modifying the
underlying module. It breaks use cases where you have multiple instances
sharing a single loaded module. `elem.drop` has the same problem too.
This PR  fixes the issue by keeping track of which data/elem segments have
been dropped by using bitmaps for each module instances separately, and
add a sample to demonstrate the issue and make the CI run it.
Also add a missing check of dropped elements to the fast-jit `table.init`.
Fixes: https://github.com/bytecodealliance/wasm-micro-runtime/issues/2735 
Fixes: https://github.com/bytecodealliance/wasm-micro-runtime/issues/2772  
						
					 
					
						2023-11-18 08:50:16 +08:00 
						 
				 
			
				
					
						
							
							
								TianlongLiang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							08c0ec74c4 
							
						 
					 
					
						
						
							
							More precise help info of enabled targets for wamrc ( #2783 )  
						
						... 
						
						
						
						Instead of printing all support targets of wamrc, print only the targets
that are included in the LLVM library with which wamrc was compiled. 
						
					 
					
						2023-11-17 19:05:00 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							dd0556a729 
							
						 
					 
					
						
						
							
							aot compiler: Disable musttail for thumb ( #2771 )  
						
						... 
						
						
						
						Error is reported when executing `wamrc --target=thumb -o <aot_file> <wasm_file>`:
```
LLVM ERROR: failed to perform tail call elimination on a call site marked musttail
Aborted (core dumped)
``` 
						
					 
					
						2023-11-16 11:05:23 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9a32e0672c 
							
						 
					 
					
						
						
							
							Fix aot compiler issue reported by Coverity ( #2770 )  
						
						... 
						
						
						
						Set `abi` to "gnu" for the bare-metal target when `abi` is NULL,
or the below `bh_assert` and `bh_memcpy` may deference a NULL
pointer. Error is reported when running wamrc compiled with
`cmake .. -DCMAKE_BUILD_TYPE=Debug`:
```
core/iwasm/compilation/aot_llvm.c:2584:13: runtime error:
  null pointer passed as argument 1, which is declared to never be null
``` 
						
					 
					
						2023-11-16 10:54:39 +08:00 
						 
				 
			
				
					
						
							
							
								Huang Qi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e4353b4e1f 
							
						 
					 
					
						
						
							
							Add eabihf ABI support and set vendor-sys of bare-metal targets ( #2745 )  
						
						... 
						
						
						
						Set the vendor-sys of bare-metal targets to "-unknown-none-",
and currently only add "thumbxxx" to the bare-metal target list.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com> 
						
					 
					
						2023-11-13 18:01:15 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							caf805ece7 
							
						 
					 
					
						
						
							
							Fix AOT compiler simd shift opcodes ( #2715 )  
						
						
						
					 
					
						2023-11-03 10:38:53 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							68a627ea2c 
							
						 
					 
					
						
						
							
							Fix several AOT compiler issues ( #2697 )  
						
						... 
						
						
						
						- Fix potential invalid push param phis and add incoming phis to a un-existed basic block
- Fix potential invalid shift count int rotl/rotr opcodes
- Resize memory_data_size to UINT32_MAX if it is 4G when hw bound check is enabled
- Fix negative linear memory offset is used for 64-bit target it is const and larger than INT32_MAX 
						
					 
					
						2023-11-02 20:36:21 +08:00 
						 
				 
			
				
					
						
							
							
								Marcin Kolny 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							72b34eaf30 
							
						 
					 
					
						
						
							
							Fix AOT shift operations for indirect constants ( #2627 )  
						
						... 
						
						
						
						When doing more investigations related to this PR:
  https://github.com/bytecodealliance/wasm-micro-runtime/pull/2619 
We found that in some scenarios the constant might not be directly
available to the LLVM IR builder, e.g.:
```
  (func $const_ret (result i32)
    i32.const -5
  )
  (func $foo
    (i32.shr_u (i32.const -1) (call $const_ret))
    (i32.const 31)
  )
```
In that case, the right parameter to `i32.shr_u` is not constant, therefore
the `SHIFT_COUNT_MASK` isn't applied. However, when the optimization
is enabled (`--opt-level` is 2 or 3), the optimization passes resolve the
call into constant, and that constant is poisoned, causing the compiler to
resolve the whole function to an exception. 
						
					 
					
						2023-10-11 11:22:34 +08:00 
						 
				 
			
				
					
						
							
							
								liang.he 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e73993709e 
							
						 
					 
					
						
						
							
							Use another default pipeline when opt-level is 0 ( #2624 )  
						
						... 
						
						
						
						According to the description of `buildPerModuleDefaultPipeline()` and
`buildLTOPreLinkDefaultPipeline()`, it is not allowed to call them with `O0` level.
Use `buildO0DefaultPipeline` instead when the opt-level is 0. 
						
					 
					
						2023-10-10 10:52:37 +08:00 
						 
				 
			
				
					
						
							
							
								TianlongLiang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							059fbfc252 
							
						 
					 
					
						
						
							
							Fix potential issue in aot compiler when translating block opcodes ( #2622 )  
						
						... 
						
						
						
						The LLVM zext IR may be inserted after the terminator of a basic block
when popping the arguments of a wasm block. Change to insert the
zext IR before the terminator of the basic block to resolve the issue.
Reported in #2620 . 
						
					 
					
						2023-10-08 09:17:54 +08:00 
						 
				 
			
				
					
						
							
							
								Marcin Kolny 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b115b7baac 
							
						 
					 
					
						
						
							
							Fix compilation of shift opcodes on x86_64 and i386 architectures ( #2619 )  
						
						... 
						
						
						
						This change fixes the case where the right parameter of shift
operator is negative, specifically, when both parameters of
shift opcode are constants. 
						
					 
					
						2023-10-07 19:55:14 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e1ea15d94e 
							
						 
					 
					
						
						
							
							aot_resolve_stack_sizes: Disable the size check for now ( #2608 )  
						
						... 
						
						
						
						cf.
https://github.com/bytecodealliance/wasm-micro-runtime/issues/2555#issuecomment-1738530877 
https://github.com/llvm/llvm-project/issues/67765  
						
					 
					
						2023-09-29 15:30:52 +08:00 
						 
				 
			
				
					
						
							
							
								liang.he 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3c17a36ccb 
							
						 
					 
					
						
						
							
							Patch implementations of vfbinop(min,max,pmin,pax) ( #2584 )  
						
						... 
						
						
						
						According to the specification,
- fNxM_pmin/max returns v1 or v2 based on flt(v1,v2) result
- fNxM_min/max returns +/-NaN, +/-Inf, v1 or v2 based on more than
  flt(v1,v2) result
Fixes issue #2561 . 
						
					 
					
						2023-09-28 09:32:01 +08:00 
						 
				 
			
				
					
						
							
							
								liang.he 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cd0cec5beb 
							
						 
					 
					
						
						
							
							Check ValueKind before extracting a constant int value ( #2595 )  
						
						... 
						
						
						
						Only when the value kind is LLVMConstantIntValueKind and the value
is not undef and not poison can we extract the value of a constant int.
Fixes  #2557  and #2559 . 
						
					 
					
						2023-09-28 09:15:56 +08:00 
						 
				 
			
				
					
						
							
							
								Alfred E. Neumayer 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							99b47fd334 
							
						 
					 
					
						
						
							
							Support AOT compiler with LLVM 17 ( #2567 )  
						
						... 
						
						
						
						Adapt API usage to new interfaces where applicable, including LLVM function
usage, obsoleted llvm::Optional type and removal of unavailable headers.
Know issues:
- AOT static PGO isn't enabled
- LLVM JIT may run failed due to llvm_orc_registerEHFrameSectionWrapper
  isn't linked into iwasm 
						
					 
					
						2023-09-25 19:00:46 +08:00 
						 
				 
			
				
					
						
							
							
								TianlongLiang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							71e07a7fa4 
							
						 
					 
					
						
						
							
							Fix potential unaligned store issue when extra return value is v128 ( #2583 )  
						
						... 
						
						
						
						Unaligned store v128 value to the AOT function argument of the pointer for
the extra return value may cause segmentation fault.
Fix the issue reported in #2556 . 
						
					 
					
						2023-09-23 09:06:35 +08:00 
						 
				 
			
				
					
						
							
							
								Huang Qi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							051dfbbb9e 
							
						 
					 
					
						
						
							
							Fix a typo in is_win_platform ( #2490 )  
						
						
						
					 
					
						2023-08-22 11:50:11 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a2f76cf93c 
							
						 
					 
					
						
						
							
							Fix typo in aot_emit_aot_file.c ( #2478 )  
						
						
						
					 
					
						2023-08-18 13:57:23 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2cb701f7f3 
							
						 
					 
					
						
						
							
							Fix windows AOT hw bound check ( #2475 )  
						
						... 
						
						
						
						When AOT out of bound linear memory access or stack overflow occurs, the call stack of
AOT functions cannot be unwound currently, so from the exception handler, runtime
cannot jump back into the place that calls the AOT function.
We temporarily skip the current instruction and let AOT code continue to run and return
to caller as soon as possible. And use the zydis library the decode the current instruction
to get its size.
And remove using RtlAddFunctionTable to register the AOT functions since it doesn't work
currently. 
						
					 
					
						2023-08-18 10:16:03 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6716c23dd1 
							
						 
					 
					
						
						
							
							wamrc: Fix windows relocation to aot_func_internal#n ( #2474 )  
						
						... 
						
						
						
						AOT relocation to aot_func_internal#n is generated by wamrc --bounds-checks=1.
Resolve the issue by applying the relocation in the compilation stage by wamrc and
don't generate these relocations in the AOT file.
Fixes  #2471 . 
						
					 
					
						2023-08-18 09:56:00 +08:00 
						 
				 
			
				
					
						
							
							
								Wenyong Huang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e2f8721ec9 
							
						 
					 
					
						
						
							
							Fix issues reported by Coverity and clear windows warnings ( #2467 )  
						
						
						
					 
					
						2023-08-17 10:54:02 +08:00 
						 
				 
			
				
					
						
							
							
								TianlongLiang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c820643b2b 
							
						 
					 
					
						
						
							
							wamrc: More friendly to print help info ( #2451 )  
						
						... 
						
						
						
						Allow wamrc to print help info like below:
```bash
wamrc --target=help
wamrc --target-abi=help
wamrc --target=<target> --cpu=help
wamrc --target=<target> --cpu=help --cpu-features=+help
``` 
						
					 
					
						2023-08-16 11:28:45 +08:00 
						 
				 
			
				
					
						
							
							
								YAMAMOTO Takashi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0f18051e66 
							
						 
					 
					
						
						
							
							aot: Disable musttail for mips ( #2457 )  
						
						... 
						
						
						
						Fixes https://github.com/bytecodealliance/wasm-micro-runtime/issues/2412  
						
					 
					
						2023-08-15 11:15:45 +08:00