diff options
author | Ayke van Laethem <[email protected]> | 2023-04-25 01:22:55 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2023-04-26 18:40:35 +0200 |
commit | 3392827c3e6ac2c0849e443242576c1dd24f6677 (patch) | |
tree | 5bbba94ee61eec1edf8205a7c5f28ed105dff6c3 /monitor.go | |
parent | 59838338ba00923a9d4f0252345805065a8724b9 (diff) | |
download | tinygo-3392827c3e6ac2c0849e443242576c1dd24f6677.tar.gz tinygo-3392827c3e6ac2c0849e443242576c1dd24f6677.zip |
runtime: print the address where a panic happened
This is not very useful in itself, but makes it possible to detect this
address in the output. See the next commit.
This adds around 50 bytes to each binary (except for AVR and wasm). This
is unfortunate, but I think this feature is quite useful still.
A future enhancement might be to create a build tag for extended panic
information that's not set by default.
Diffstat (limited to 'monitor.go')
0 files changed, 0 insertions, 0 deletions