Files
tinygo/testdata
Jake Bailey 29b4c6723f runtime: make divide-by-zero and nil dereference panics recoverable
Modify the Unix signal handler to redirect execution to a Go sigpanic
function instead of printing an error and re-raising the signal.
The C signal handler modifies the ucontext to make the faulting
instruction appear to have called tinygo_sigpanic, which then calls
runtimePanic with the appropriate message.

Supported on all architectures TinyGo targets on Linux and Darwin:
x86_64, i386, aarch64, ARM, and MIPS. Also registers SIGFPE, which
was previously not handled at all.
2026-06-04 19:25:47 +02:00
..
2026-05-25 16:58:01 +02:00
2019-09-20 10:35:49 +02:00
2019-09-20 10:35:49 +02:00
2023-04-11 18:54:05 -07:00
2026-04-09 16:19:33 +01:00
2021-04-09 18:33:48 +02:00
2024-05-13 16:49:18 +02:00
2021-04-09 18:33:48 +02:00
2024-12-01 11:12:00 +01:00
2024-10-23 12:25:27 +01:00
2024-10-23 12:25:27 +01:00
2020-10-23 21:37:35 +02:00
2020-10-23 21:37:35 +02:00
2019-10-13 23:07:47 +02:00
2019-10-13 23:07:47 +02:00
2023-08-04 11:59:11 +02:00
2024-10-19 16:00:45 +01:00
2024-10-19 16:00:45 +01:00
2024-10-19 16:00:45 +01:00
2020-05-12 01:17:27 +02:00