aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime2.go
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2022-09-06 17:57:07 -0400
committerGopher Robot <gobot@golang.org>2022-09-07 15:11:05 +0000
commit196003f9fd8d754a926ea8bc3aa5207eaea87528 (patch)
tree6daa1e906a91a7d39d4c541ce540e7e41df4d7fc /src/runtime/runtime2.go
parentd81ed4d62192cd89dbf664c42e26c35a052dd9ce (diff)
downloadgo-196003f9fd8d754a926ea8bc3aa5207eaea87528.tar.xz
runtime: rename _func.nameoff and friends to nameOff
Switch to the more Go-style name to match inlinedCall.nameOff. Change-Id: I2115b27af8309e1ead7d61ecc65fe4fc966030f7 Reviewed-on: https://go-review.googlesource.com/c/go/+/428657 Run-TryBot: Michael Pratt <mpratt@google.com> Auto-Submit: Michael Pratt <mpratt@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/runtime/runtime2.go')
-rw-r--r--src/runtime/runtime2.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go
index 40d3805808..7fdf163440 100644
--- a/src/runtime/runtime2.go
+++ b/src/runtime/runtime2.go
@@ -859,7 +859,7 @@ const (
// and with package debug/gosym and with symtab.go in package runtime.
type _func struct {
entryoff uint32 // start pc, as offset from moduledata.text/pcHeader.textStart
- nameoff int32 // function name
+ nameOff int32 // function name, as index into moduledata.funcnametab.
args int32 // in/out args size
deferreturn uint32 // offset of start of a deferreturn call instruction from entry, if any.