]> Cypherpunks repositories - gostls13.git/commit
runtime: fix correctness test at end of traceback
authorRuss Cox <rsc@golang.org>
Sun, 1 Jun 2014 17:57:46 +0000 (13:57 -0400)
committerRuss Cox <rsc@golang.org>
Sun, 1 Jun 2014 17:57:46 +0000 (13:57 -0400)
commitbcfe519d58e0ef99faad76b7d13108cd48d75e32
treeed7ebd04b2792c46ed1089e2fd2207225c906922
parentaa92b3e5d4b649f630a161a50b86c456b8f40277
runtime: fix correctness test at end of traceback

We were requiring that the defer stack and the panic stack
be completely processed, thinking that if any were left over
the stack scan and the defer stack/panic stack must be out
of sync. It turns out that the panic stack may well have
leftover entries in some situations, and that's okay.

Fixes #8132.

LGTM=minux, r
R=golang-codereviews, minux, r
CC=golang-codereviews, iant, khr
https://golang.org/cl/100900044
src/pkg/runtime/traceback_arm.c
src/pkg/runtime/traceback_x86.c
test/fixedbugs/issue8132.go [new file with mode: 0644]