mirror of
https://github.com/golang/go
synced 2024-11-19 17:04:41 -07:00
318309a51f
This is the same logic used in the standard tracebacks. The caller pc is the pc after the call, so except in the fake "call" caused by a panic, back up the pc enough that the lookup will use the previous instruction. Fixes #4150. Fixes #4151. R=golang-dev, iant CC=golang-dev https://golang.org/cl/7317047 |
||
---|---|---|
.. | ||
pprof_test.go | ||
pprof.go |