mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2026-01-14 05:16:40 +00:00
Add a standalone test to verify that the +reserve-x18 LLVM flag is correctly applied when compiling AOT for macOS ARM64. On macOS ARM64, x18 is reserved by Apple for TLS (Thread Local Storage). Without the +reserve-x18 flag, LLVM may generate code that uses x18, causing random SIGSEGV crashes (~80% crash rate in testing). The test: - Creates a WASM module with 24 local variables to stress register allocation - Compiles to AOT with -O3 optimization (which would use x18 without the fix) - Runs 1000 iterations to verify no crashes occur - Only runs on macOS ARM64 (skipped on other platforms) Test results: - Without fix: 82/100 crash rate - With fix: 0/100 crash rate (1000 iterations verified) |
||
|---|---|---|
| .. | ||
| build_docker_images.yml | ||
| build_iwasm_release.yml | ||
| build_llvm_libraries.yml | ||
| build_wamr_lldb.yml | ||
| build_wamr_sdk.yml | ||
| build_wamr_vscode_ext.yml | ||
| build_wamr_wasi_extensions.yml | ||
| build_wamrc.yml | ||
| check_version_h.yml | ||
| codeql.yml | ||
| coding_guidelines.yml | ||
| compilation_on_android_ubuntu.yml | ||
| compilation_on_macos.yml | ||
| compilation_on_nuttx.yml | ||
| compilation_on_sgx.yml | ||
| compilation_on_windows.yml | ||
| compilation_on_zephyr.yml | ||
| create_tag.yml | ||
| hadolint_dockerfiles.yml | ||
| nightly_run.yml | ||
| release_process.yml | ||
| reuse_latest_release_binaries.yml | ||
| spec_test_on_nuttx.yml | ||
| supply_chain.yml | ||
| wamr_wasi_extensions.yml | ||