]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: racewalk: fix a bunch of minor issues
authorDmitriy Vyukov <dvyukov@google.com>
Thu, 1 Nov 2012 18:56:04 +0000 (22:56 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Thu, 1 Nov 2012 18:56:04 +0000 (22:56 +0400)
commitde10a23db14106588b608d724510849c4e5f278a
treeb5099575eb7ec1caecd44a374591cb05845f9a7e
parent4094c1bae7cb6ace9311e560623bc0eb80bae91e
cmd/gc: racewalk: fix a bunch of minor issues
1. Prepend racefuncenter() to fn->enter -- fn->enter can contain new() calls,
and we want them to be in the scope of the function.
2. Dump fn->enter and fn->exit.
3. Add TODO that OTYPESW expression can contain interesting memory accesses.
4. Ignore only _ names instead of all names starting with _.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6822048
src/cmd/gc/racewalk.c