runtime: correct reference to getStackMap in comment

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>
This commit is contained in:
Ian Lance Taylor 2025-09-28 21:22:09 -07:00 committed by Gopher Robot
parent 690fc2fb05
commit db3cb3fd9a

View file

@ -429,7 +429,7 @@ func (u *unwinder) resolveInternal(innermost, isSyscall bool) {
// gp._defer for a defer corresponding to this function, but that // 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.) // is hard to do with defer records on the stack during a stack copy.)
// Note: the +1 is to offset the -1 that // 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. // address make sure the pc is in the CALL instruction.
} else { } else {
frame.continpc = 0 frame.continpc = 0