mirror of
https://github.com/golang/go
synced 2024-11-05 17:06:13 -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:
parent
3e75859390
commit
027ff3f47d
@ -314,7 +314,7 @@ func (t *LineTable) go12Funcs() []Func {
|
|||||||
syms[i] = Sym{
|
syms[i] = Sym{
|
||||||
Value: f.Entry,
|
Value: f.Entry,
|
||||||
Type: 'T',
|
Type: 'T',
|
||||||
Name: t.funcName(info.nameoff()),
|
Name: t.funcName(info.nameOff()),
|
||||||
GoType: 0,
|
GoType: 0,
|
||||||
Func: f,
|
Func: f,
|
||||||
goVersion: t.version,
|
goVersion: t.version,
|
||||||
@ -456,7 +456,7 @@ func (f *funcData) entryPC() uint64 {
|
|||||||
return f.t.uintptr(f.data)
|
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) deferreturn() uint32 { return f.field(3) }
|
||||||
func (f funcData) pcfile() uint32 { return f.field(5) }
|
func (f funcData) pcfile() uint32 { return f.field(5) }
|
||||||
func (f funcData) pcln() uint32 { return f.field(6) }
|
func (f funcData) pcln() uint32 { return f.field(6) }
|
||||||
|
Loading…
Reference in New Issue
Block a user