]> Cypherpunks repositories - gostls13.git/commit
runtime: handle morestack/lessstack in stack trace
authorRuss Cox <rsc@golang.org>
Thu, 18 Jul 2013 20:53:45 +0000 (16:53 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 18 Jul 2013 20:53:45 +0000 (16:53 -0400)
commit58f12ffd79df8ae369afa7ec60ee26d72ce2d843
treeccc2d561a416544b0fe46cc729d244bc47ecd19d
parent8c741c97f710c1e197cd7d2d02d8380dbb759859
runtime: handle morestack/lessstack in stack trace

If we start a garbage collection on g0 during a
stack split or unsplit, we'll see morestack or lessstack
at the top of the stack. Record an argument frame size
for those, and record that they terminate the stack.

R=golang-dev, dvyukov
CC=golang-dev
https://golang.org/cl/11533043
src/pkg/runtime/asm_386.s
src/pkg/runtime/asm_amd64.s
src/pkg/runtime/asm_arm.s
src/pkg/runtime/proc.c
src/pkg/runtime/traceback_arm.c
src/pkg/runtime/traceback_x86.c