diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-07-09 19:35:19 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-07-11 15:49:14 +0200 |
commit | 1d60418132460c23b216a2f8a9e0ea8897d32ea4 (patch) | |
tree | fe1640e8d9b2f2a00f9113c971c86a7c5eb28fcd /compiler.c | |
parent | 48f33ad70bf584a97a2e2d3870b04bbc970194b7 (diff) |
vm: add API to control trace mode
Add a public getter and setter to read and set the VM trace level
respectively. Use the new API to control the trace mode with a newly
introduced `-t` command line switch.
Drop support for honouring the `TRACE` environment variable as
host programs embedding ucode might want to prevent that behaviour
or handle it differently.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'compiler.c')
0 files changed, 0 insertions, 0 deletions