aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/symtab.go
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2022-11-11 10:05:39 +0800
committerGopher Robot <gobot@golang.org>2022-11-11 19:12:52 +0000
commit5a3243e6b60ec7b006d8b65fd564133018cad777 (patch)
treec5f2272d7fcf1252177af0e3598affd88714a4ee /src/runtime/symtab.go
parent46bed9d04c5f1e0da557d79b9a35bf9331fcd33f (diff)
downloadgo-5a3243e6b60ec7b006d8b65fd564133018cad777.tar.xz
all: fix problematic comments
Change-Id: Ib6ea1bd04d9b06542ed2b0f453c718115417c62c Reviewed-on: https://go-review.googlesource.com/c/go/+/449755 Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Keith Randall <khr@google.com>
Diffstat (limited to 'src/runtime/symtab.go')
-rw-r--r--src/runtime/symtab.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/symtab.go b/src/runtime/symtab.go
index f47f96dd0f..dead27e5f2 100644
--- a/src/runtime/symtab.go
+++ b/src/runtime/symtab.go
@@ -595,7 +595,7 @@ type textsect struct {
const minfunc = 16 // minimum function size
const pcbucketsize = 256 * minfunc // size of bucket in the pc->func lookup table
-// findfunctab is an array of these structures.
+// findfuncbucket is an array of these structures.
// Each bucket represents 4096 bytes of the text segment.
// Each subbucket represents 256 bytes of the text segment.
// To find a function given a pc, locate the bucket and subbucket for