]> Cypherpunks repositories - gostls13.git/commit
runtime, runtime/pprof: add Frames to get file/line for Callers
authorIan Lance Taylor <iant@golang.org>
Sun, 21 Feb 2016 20:50:35 +0000 (12:50 -0800)
committerIan Lance Taylor <iant@golang.org>
Thu, 25 Feb 2016 19:42:19 +0000 (19:42 +0000)
commitad03af66ebfb368fe0f87262092094e1793a9ef5
tree29a94c21b5e3bff617daf5539af637f3e32adef7
parent14113b3a89624ee6d97a7847b68361158ad43822
runtime, runtime/pprof: add Frames to get file/line for Callers

This indirectly implements a small fix for runtime/pprof: it used to
look for runtime.gopanic when it should have been looking for
runtime.sigpanic.

Update #11432.

Change-Id: I5e3f5203b2ac5463efd85adf6636e64174aacb1d
Reviewed-on: https://go-review.googlesource.com/19869
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/runtime/callers_test.go [new file with mode: 0644]
src/runtime/extern.go
src/runtime/pprof/pprof.go
src/runtime/symtab.go