wasm-micro-runtime/.github
teamchong ca147a3458 test(aot): add x18 register reservation test for macOS ARM64
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)
2026-01-08 06:33:04 -05:00
..
actions Upgrade macos runner of CIs to 15 (#4770) 2025-12-23 13:24:11 +08:00
codeql Use a customized codeql configration (#4207) 2025-11-14 17:48:28 +08:00
ISSUE_TEMPLATE Enhance security guidelines for identifying vulnerabilities (#4584) 2025-10-09 12:05:59 +08:00
scripts Implicitly disable the SIMD flag for classic-interp and fast-jit (#4768) 2025-12-23 13:24:41 +08:00
workflows test(aot): add x18 register reservation test for macOS ARM64 2026-01-08 06:33:04 -05:00
dependabot.yml Add dependabot (#3303) 2024-04-11 19:56:02 +08:00