]> Cypherpunks repositories - gostls13.git/commit
runtime: fix racefuncenter argument corruption.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Thu, 28 Feb 2013 06:32:29 +0000 (07:32 +0100)
committerRémy Oudompheng <oudomphe@phare.normalesup.org>
Thu, 28 Feb 2013 06:32:29 +0000 (07:32 +0100)
commite2f9e816b77b9c1b6625abb2dd32c7dc897cf25a
treee7c7c7db7c57b136ba114c21c6cc00f28fae7dd4
parentb2249f2018155184abe10781633b8d66e566fa86
runtime: fix racefuncenter argument corruption.

Revision 6a88e1893941 corrupts the argument to
racefuncenter by pushing the data block pointer
to the stack.

Fixes #4885.

R=dvyukov, rsc
CC=golang-dev
https://golang.org/cl/7381053
src/pkg/runtime/race.c
src/pkg/runtime/race_amd64.s