]> Cypherpunks repositories - gostls13.git/commit
runtime: print more information on stack overflow
authorCherry Zhang <cherryyz@google.com>
Fri, 15 Nov 2019 02:34:35 +0000 (21:34 -0500)
committerCherry Zhang <cherryyz@google.com>
Wed, 27 Nov 2019 01:30:32 +0000 (01:30 +0000)
commit0f251028585e052a3d34dcce83b05d8aa9ba170e
treeac9f64fd93fb23a8e00c97298056214e4f2021d8
parentb2482e481722357c6daa98ef074d8eaf8ac4baf3
runtime: print more information on stack overflow

Print the current SP and (old) stack bounds when the stack grows
too large. This helps to identify the problem: whether a large
stack is used, or something else goes wrong.

For #35470.

Change-Id: I34a4064d5c7280978391d835e171b90d06f87222
Reviewed-on: https://go-review.googlesource.com/c/go/+/207351
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
src/runtime/crash_test.go
src/runtime/stack.go