wasm-micro-runtime/tests
YAMAMOTO Takashi 908838a5b5
build-scripts/build_llvm.py: bump to llvm 18 (#4259)
* build-scripts/build_llvm.py: bump to llvm 18

cf. https://github.com/bytecodealliance/wasm-micro-runtime/issues/4210

why not 20?
because, as of writing this, 19 is the latest released version for
the xtensa fork of llvm: https://github.com/espressif/llvm-project

why not 19?
because of a bug in the xtensa fork of llvm:
https://github.com/espressif/llvm-project/issues/112

while we can use different versions for different targets,
it's nicer to use the same version everywhere when possible.

* spec-test-script/runtest.py: --size-level=0 for x86-64

with the recent version of LLVM, wamrc --size-level=1 often
generates R_X86_64_32S relocations which fail on load with
the infamous error:

"relocation truncated to fit R_X86_64_32S failed"

it seems that these relocations are often for jump tables.

this commit workarounds it with --size-level=0.

an alternative is to disable jump tables. (although it seems that
jump tables are not the only source of these relocations.)

cf. https://github.com/bytecodealliance/wasm-micro-runtime/issues/3035

it might be better to do this in wamrc itself. however, currently
target info is not available there in case of native compilation.
related: https://github.com/bytecodealliance/wasm-micro-runtime/issues/3356

* wamr-compiler: size_level=0 for sgx mode

cf. https://github.com/bytecodealliance/wasm-micro-runtime/issues/3035
2025-05-09 17:14:02 +08:00
..
benchmarks Fix compile errors on workload bwa and benchmark jetstream (#3617) 2024-07-12 16:58:10 +08:00
fuzz/wasm-mutator-fuzz use a selected llvm libs list to replace the full list (#4232) 2025-04-29 11:41:34 +08:00
malformed Add malformed test cases (#3459) 2024-05-21 16:38:34 +08:00
regression/ba-issues wasm loader: Fix pop invalid offset count when stack top is ANY (#3516) 2024-06-14 16:22:08 +08:00
requirement-engineering Add test cases for the requirements of "gc-aot" feature (#3399) 2024-05-09 16:15:44 +08:00
standalone set default value of WAMR_BUILD_REF_TYPES to 1 in standalone cases (#4227) 2025-04-30 14:10:56 +08:00
unit Update unit test cases (#4214) 2025-04-25 14:43:24 +08:00
wamr-compiler Fix AOT shift operations for indirect constants (#2627) 2023-10-11 11:22:34 +08:00
wamr-test-suites build-scripts/build_llvm.py: bump to llvm 18 (#4259) 2025-05-09 17:14:02 +08:00