diff options
| author | Austin Clements <austin@google.com> | 2023-08-01 13:45:31 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-08-07 19:31:22 +0000 |
| commit | 6be2639aff73389fce845cd7a6d1c568a5ef5625 (patch) | |
| tree | b0d1727f88b83cca397799cc1c9790f404d4bbad /src/runtime/stack.go | |
| parent | 0dc513b65a3aaf25dfad134b7ef3ac5aaac95159 (diff) | |
| download | go-6be2639aff73389fce845cd7a6d1c568a5ef5625.tar.xz | |
runtime: store start PC in pcvalueCache
Currently, pcvalue only returns a valid start PC if cache is nil.
We're about to eliminate the cache argument and always use a pcvalue
cache, so make sure the cache stores the start PC and always return it
from pcvalue.
Change-Id: Ie8854af4b7e7ba1c2a17a495d9229320821daa23
Reviewed-on: https://go-review.googlesource.com/c/go/+/515275
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Austin Clements <austin@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/runtime/stack.go')
0 files changed, 0 insertions, 0 deletions
