]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: correct reference to getStackMap in comment
authorIan Lance Taylor <iant@golang.org>
Mon, 29 Sep 2025 04:22:09 +0000 (21:22 -0700)
committerGopher Robot <gobot@golang.org>
Mon, 29 Sep 2025 21:04:32 +0000 (14:04 -0700)
Change-Id: I9b1fa390434dbda7d49a36b0114c68f942c11d3f
Reviewed-on: https://go-review.googlesource.com/c/go/+/707575
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/runtime/traceback.go

index 949d48c79a6df5ef61d099034141ce706c8f28db..53f41bca0b11ff08518e8bd3b783118046683073 100644 (file)
@@ -429,7 +429,7 @@ func (u *unwinder) resolveInternal(innermost, isSyscall bool) {
                        // gp._defer for a defer corresponding to this function, but that
                        // is hard to do with defer records on the stack during a stack copy.)
                        // Note: the +1 is to offset the -1 that
-                       // stack.go:getStackMap does to back up a return
+                       // (*stkframe).getStackMap does to back up a return
                        // address make sure the pc is in the CALL instruction.
                } else {
                        frame.continpc = 0