]> Cypherpunks repositories - gostls13.git/commit
runtime: print runtime frames in throwsplit trace
authorAustin Clements <austin@google.com>
Wed, 22 Nov 2017 20:29:03 +0000 (15:29 -0500)
committerAustin Clements <austin@google.com>
Wed, 22 Nov 2017 21:44:38 +0000 (21:44 +0000)
commit4671da0414b31c7bd234e96b5af414fecb79e861
treeae42787dd920cc2f4653a58c4c2c5894a47c8c9c
parent09739d285085d0a8440bd521d04376c8acc31ecd
runtime: print runtime frames in throwsplit trace

newstack manually prints the stack trace if we try to grow the stack
when throwsplit is set. However, the default behavior is to omit
runtime frames. Since runtime frames can be critical to understanding
this crash, this change fixes this traceback to include them.

Updates #21431.

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