]> Cypherpunks repositories - gostls13.git/commit
runtime: call symtabinit earlier
authorAnthony Martin <ality@pbrane.org>
Thu, 13 Mar 2014 02:42:58 +0000 (19:42 -0700)
committerAnthony Martin <ality@pbrane.org>
Thu, 13 Mar 2014 02:42:58 +0000 (19:42 -0700)
commit64e041652aa2c431ff2aec6745dfecf32abac66a
treeac80cbf1c888e24288a8cc6018fe068f58eb4cf2
parentb53d2f5ba7a09b60a3f3dda71a47149f41482290
runtime: call symtabinit earlier

Otherwise, we won't get a stack trace in some of the early init.

Here's one example:

        http://build.golang.org/log/a96d10f6aee1fa3e3ae51f41da46d414a7ab02de

After walking the stack by hand in acid, I was able to determine
that the stackalloc inside mpreinit was causing the throw.

LGTM=rsc
R=rsc, dvyukov
CC=golang-codereviews
https://golang.org/cl/72450044
src/pkg/runtime/proc.c