]> Cypherpunks repositories - gostls13.git/commit
runtime: improve systemstack-on-Go stack message
authorAustin Clements <austin@google.com>
Thu, 23 Mar 2017 15:20:17 +0000 (11:20 -0400)
committerAustin Clements <austin@google.com>
Mon, 27 Mar 2017 14:53:12 +0000 (14:53 +0000)
commit4234d1decd853b2373c17340eb4c0033c0fe9566
tree34f3dcadd01e05bf81d3619beb36c76857ee9168
parent0476c7a7b50614f98f37a51ee2100af922288b68
runtime: improve systemstack-on-Go stack message

We reused the old C stack check mechanism for the implementation of
//go:systemstack, so when we execute a //go:systemstack function on a
user stack, the system fails by calling morestackc. However,
morestackc's message still talks about "executing C code".

Fix morestackc's message to reflect its modern usage.

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