]> Cypherpunks repositories - gostls13.git/commit
runtime: fix debuglog traceback printing off-by-one
authorAustin Clements <austin@google.com>
Wed, 7 Aug 2019 01:37:37 +0000 (21:37 -0400)
committerAustin Clements <austin@google.com>
Wed, 29 Apr 2020 20:33:30 +0000 (20:33 +0000)
commit45cd312394ebbcdce956952f0e269a82d89e6639
tree3bbdfc69a36a2ee8906d0cc25d293f8650809722
parentc8b42f9aa5146638c62e8420147595b3533c2a78
runtime: fix debuglog traceback printing off-by-one

The debuglog traceback printer wasn't adjusting for call/return PCs.

Change-Id: I98dda1c0f22cd78651d88124ea51dc166dc91c7a
Reviewed-on: https://go-review.googlesource.com/c/go/+/227646
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/debuglog.go