Files
tinygo/compiler
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
..
2025-02-25 14:41:42 +01:00
2021-09-27 15:47:12 +02:00
2023-10-01 18:32:15 +02:00
2026-04-05 14:14:55 +02:00
2026-05-25 16:58:01 +02:00
2026-05-25 16:58:01 +02:00