mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-27 06:43:19 +08:00
Clang has no __builtin_setjmp lowering for AArch64, so scr_wasm.c did not compile under AddressSanitizer on macOS arm64. Sanitized AArch64 builds now use an uninstrumented setjmp/longjmp pair that saves the callee-preserved registers, sp and the frame and link registers; like the builtin pair, no runtime intercepts it, and scr_wasm_trap still unpoisons the abandoned frames.