]> Cypherpunks repositories - gostls13.git/commit
runtime: symbolize morestack caller in throwsplit panic
authorAustin Clements <austin@google.com>
Thu, 14 Dec 2017 20:32:12 +0000 (15:32 -0500)
committerAustin Clements <austin@google.com>
Fri, 15 Dec 2017 17:21:07 +0000 (17:21 +0000)
commit44213336f06755115e6b9a5407af7a2312c0d896
tree073f3a6446f4d7e9db4a3648d6f7d90661de12c7
parentbfb8f2a765d6097c82b30ae2c19c99fa1082add3
runtime: symbolize morestack caller in throwsplit panic

This attempts to symbolize the PC of morestack's caller when there's a
stack split at a bad time. The stack trace starts at the *caller* of
the function that attempted to grow the stack, so this is useful if it
isn't obvious what's being called at that point, such as in #21431.

Change-Id: I5dee305d87c8069611de2d14e7a3083d76264f8f
Reviewed-on: https://go-review.googlesource.com/84115
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/stack.go