Files
tinygo/testdata
Jake Bailey eed4afda63 compiler, runtime: make runtime panics recoverable
Emit fault checkpoints around compiler-generated runtime assertions so
runtimePanicAt can unwind through the existing defer/recover machinery
instead of aborting. This lets panics from bounds checks, type checks,
and other compiler-inserted runtime checks be recovered by deferred
functions.

Mark functions that call recover as noinline. Inlining such a function
into a deferred closure can make recover observe the wrong call context
and report success when it should return nil.

Addresses tinygo-org/tinygo issues 2759 and 3510.
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