diff options
| author | Michael Pratt <mpratt@google.com> | 2022-09-06 18:03:30 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-09-07 15:42:49 +0000 |
| commit | 7ebaa6587bb0d0454c87796fd894c751f91f2bff (patch) | |
| tree | 1b921eaa868f6910cfa402601ccb794e6c9affb4 /src/runtime/symtab.go | |
| parent | df9d53d93b7ae8fb4ba510fe259a58d873f06c70 (diff) | |
| download | go-7ebaa6587bb0d0454c87796fd894c751f91f2bff.tar.xz | |
runtime: rename _func.entryoff to entryOff
To match _func.nameOff.
Change-Id: I75e71cadaa0f7ca8844d1b49950673797b227074
Reviewed-on: https://go-review.googlesource.com/c/go/+/428658
Run-TryBot: Michael Pratt <mpratt@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/runtime/symtab.go')
| -rw-r--r-- | src/runtime/symtab.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/symtab.go b/src/runtime/symtab.go index b7bf7d77a9..79ca5cfc44 100644 --- a/src/runtime/symtab.go +++ b/src/runtime/symtab.go @@ -810,12 +810,12 @@ func (f funcInfo) _Func() *Func { // isInlined reports whether f should be re-interpreted as a *funcinl. func (f *_func) isInlined() bool { - return f.entryoff == ^uint32(0) // see comment for funcinl.ones + return f.entryOff == ^uint32(0) // see comment for funcinl.ones } // entry returns the entry PC for f. func (f funcInfo) entry() uintptr { - return f.datap.textAddr(f.entryoff) + return f.datap.textAddr(f.entryOff) } // findfunc looks up function metadata for a PC. |
