]> Cypherpunks repositories - gostls13.git/commit
runtime: fix bug in tracebacks
authorRob Pike <r@golang.org>
Thu, 9 Sep 2010 04:28:56 +0000 (14:28 +1000)
committerRob Pike <r@golang.org>
Thu, 9 Sep 2010 04:28:56 +0000 (14:28 +1000)
commitba5175401edee538e127f14e7b03cba96223fc56
treeea4735321b84a17185e0a9b11ecf615cbbc8ad2f
parentc23657e76e73d808530068b95a8021d979f65763
runtime: fix bug in tracebacks
Need to correct for deferproc's extra 2 words of stack or in some
cases (such as memory profiling) traceback can cause a crash.
Also bulletproof the closure test.

R=rsc
CC=golang-dev
https://golang.org/cl/2138047
src/pkg/runtime/amd64/traceback.c