compiler: add support for debugging globals

This makes most globals visible from GDB, using `info variables`.
This commit is contained in:
Ayke van Laethem
2020-01-04 20:12:54 +01:00
parent 674ddef219
commit 084386262a
4 changed files with 51 additions and 13 deletions
+1 -1
View File
@@ -10,5 +10,5 @@ require (
go.bug.st/serial.v1 v0.0.0-20180827123349-5f7892a7bb45
golang.org/x/sys v0.0.0-20191010194322-b09406accb47 // indirect
golang.org/x/tools v0.0.0-20190227180812-8dcc6e70cdef
tinygo.org/x/go-llvm v0.0.0-20191215173731-ad71f3d24aae
tinygo.org/x/go-llvm v0.0.0-20200104190746-1ff21df33566
)