]> Cypherpunks repositories - gostls13.git/commit
runtime: fix sigtrampPC on Windows
authorRuss Cox <rsc@golang.org>
Thu, 4 Sep 2014 04:54:37 +0000 (00:54 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 4 Sep 2014 04:54:37 +0000 (00:54 -0400)
commit996835887cd8472eadef961120de043a74724fa5
treead075373fb98731f29f0f31d35e9719cb98ea71d
parente3edfea07f905916cee66121576b029cd6a11444
runtime: fix sigtrampPC on Windows

The arm5 build breakage at CL 139110043 was caused by
calling funcPC on a lessstack defined as a struct{}.
That symbol ended up with a non-4-aligned address,
which caused the memory fault that broke the builders.
The definition of lessstack was fixed in CL 140880043.

Tracking that down suggested that it would be worth
looking for the same bug elsewhere in the directory.
This is the only one I found.

LGTM=bradfitz
R=golang-codereviews, dave, bradfitz
CC=dvyukov, golang-codereviews, iant, khr, r
https://golang.org/cl/134410043
src/pkg/runtime/traceback_windows.go