]> Cypherpunks repositories - gostls13.git/commit
runtime: initialize traceback variables earlier
authorKeith Randall <khr@golang.org>
Tue, 30 Sep 2014 04:21:36 +0000 (21:21 -0700)
committerKeith Randall <khr@golang.org>
Tue, 30 Sep 2014 04:21:36 +0000 (21:21 -0700)
commit70b2da98ca097598326d5d01406b287bcd5eb6ee
tree6777e4e223a9ff877905ed8978df58fbe1ac631f
parentf13cec9f5732dd09c51f90957c3d888aad782c27
runtime: initialize traceback variables earlier

Our traceback code needs to know the PC of several special
functions, including goexit, mcall, etc.  Make sure that
these PCs are initialized before any traceback occurs.

Fixes #8766

LGTM=rsc
R=golang-codereviews, rsc, khr, bradfitz
CC=golang-codereviews
https://golang.org/cl/145570043
src/runtime/proc.c
src/runtime/runtime.h
src/runtime/traceback.go