aboutsummaryrefslogtreecommitdiffhomepage
path: root/loader
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2024-08-12 18:45:22 +0200
committerRon Evans <[email protected]>2024-08-15 02:00:28 +0200
commit194396d71570318eb581245c49778341474d8ef6 (patch)
treef1a9d09526c22fd1ec7419ec4aa49465f4e812c2 /loader
parent815784bd9692afe9ac5d58a37a282757de734d9a (diff)
downloadtinygo-194396d71570318eb581245c49778341474d8ef6.tar.gz
tinygo-194396d71570318eb581245c49778341474d8ef6.zip
unix: print a message when a fatal signal happens
Print a message for SIGBUS, SIGSEGV, and SIGILL when they happen. These signals are always fatal, but it's very useful to know which of them happened. Also, it prints the location in the binary which can then be parsed by `tinygo run` (see https://github.com/tinygo-org/tinygo/pull/4383). While this does add some extra binary size, it's for Linux and MacOS (systems that typically have plenty of RAM/storage) and could be very useful when debugging some low-level crash such as a runtime bug.
Diffstat (limited to 'loader')
0 files changed, 0 insertions, 0 deletions