Issue #3049 - Disable wasm signal handlers on loongarch64

This commit is contained in:
Basilisk-Dev 2026-04-23 22:04:40 -04:00 committed by wuggy
commit ebd4d215df

View file

@ -1358,6 +1358,13 @@ ProcessHasSignalHandlers()
# endif
#endif
#if defined(JS_CODEGEN_LOONGARCH64)
// The loongarch64 port is baseline-only for now: no wasm compiler support
// and no Ion interrupt machinery that depends on these process-wide
// signal handlers. Keeping them installed risks misrouting ordinary faults.
return false;
#endif
// The interrupt handler allows the main thread to be paused from another
// thread (see InterruptRunningJitCode).
#if defined(XP_WIN)