compiler: add debug info for local variables

Local variables aren't scoped yet and not all are included, but this is
a start. To use it, run `info locals` in GDB.
This commit is contained in:
Ayke van Laethem
2020-01-26 18:59:59 +01:00
committed by Ron Evans
parent c8a4994feb
commit 0c73d56861
3 changed files with 81 additions and 15 deletions
+2 -1
View File
@@ -7,6 +7,7 @@ require (
github.com/google/shlex v0.0.0-20181106134648-c34317bd91bf
github.com/marcinbor85/gohex v0.0.0-20180128172054-7a43cd876e46
go.bug.st/serial v1.0.0
golang.org/x/tools v0.0.0-20190227180812-8dcc6e70cdef
golang.org/x/tools v0.0.0-20200216192241-b320d3a0f5a2
google.golang.org/appengine v1.4.0 // indirect
tinygo.org/x/go-llvm v0.0.0-20200104190746-1ff21df33566
)