1
0
mirror of https://github.com/golang/go synced 2024-11-18 12:14:42 -07:00

debug/gosym: rename nameoff to nameOff to match runtime

Change-Id: Id33526e56bb25bc06746355f95045c5ef3c795c1
Reviewed-on: https://go-review.googlesource.com/c/go/+/428660
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
This commit is contained in:
Michael Pratt 2022-09-06 18:02:13 -04:00 committed by Gopher Robot
parent 3e75859390
commit 027ff3f47d

View File

@ -314,7 +314,7 @@ func (t *LineTable) go12Funcs() []Func {
syms[i] = Sym{
Value: f.Entry,
Type: 'T',
Name: t.funcName(info.nameoff()),
Name: t.funcName(info.nameOff()),
GoType: 0,
Func: f,
goVersion: t.version,
@ -456,7 +456,7 @@ func (f *funcData) entryPC() uint64 {
return f.t.uintptr(f.data)
}
func (f funcData) nameoff() uint32 { return f.field(1) }
func (f funcData) nameOff() uint32 { return f.field(1) }
func (f funcData) deferreturn() uint32 { return f.field(3) }
func (f funcData) pcfile() uint32 { return f.field(5) }
func (f funcData) pcln() uint32 { return f.field(6) }