compiler: add support for static-variables
in debug info
This commit is contained in:
parent
e8ba386e58
commit
7afca7f8e5
3 changed files with 21 additions and 5 deletions
|
@ -44,6 +44,8 @@ type codegen struct {
|
|||
scope *funcScope
|
||||
|
||||
globals map[string]int
|
||||
// staticVariables contains global (static in NDX-DN11) variable names and types.
|
||||
staticVariables []string
|
||||
|
||||
// A mapping from label's names to their ids.
|
||||
labels map[labelWithType]uint16
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue