mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: thread Curfn through to debuginfo
Updates #15756 Change-Id: I860dd45cae9d851c7844654621bbc99efe7c7f03 Reviewed-on: https://go-review.googlesource.com/38591 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
parent
3a1ce1085a
commit
6652572b75
5 changed files with 16 additions and 12 deletions
|
|
@ -746,7 +746,7 @@ type Link struct {
|
|||
Armsize int32
|
||||
Pc int64
|
||||
DiagFunc func(string, ...interface{})
|
||||
DebugInfo func(fn *LSym) []*dwarf.Var
|
||||
DebugInfo func(fn *LSym, curfn interface{}) []*dwarf.Var // if non-nil, curfn is a *gc.Node
|
||||
Cursym *LSym
|
||||
Version int
|
||||
Errors int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue