aboutsummaryrefslogtreecommitdiffhomepage
path: root/monitor_test.go
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2023-04-25 01:22:55 +0200
committerRon Evans <[email protected]>2023-04-26 18:40:35 +0200
commit3392827c3e6ac2c0849e443242576c1dd24f6677 (patch)
tree5bbba94ee61eec1edf8205a7c5f28ed105dff6c3 /monitor_test.go
parent59838338ba00923a9d4f0252345805065a8724b9 (diff)
downloadtinygo-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_test.go')
0 files changed, 0 insertions, 0 deletions