]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: instrument arrays properly in race detector.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Fri, 14 Jun 2013 09:14:45 +0000 (11:14 +0200)
committerRémy Oudompheng <oudomphe@phare.normalesup.org>
Fri, 14 Jun 2013 09:14:45 +0000 (11:14 +0200)
commit3be794cdc2c7fc78a43b6a619ddf281b7271b520
tree8a9b69f77913e931ea75eb1a23f05a8f3b0aca41
parentbc0812486637abf68d66aca6535383b1bf5e5a33
cmd/gc: instrument arrays properly in race detector.

The previous implementation would only record access to
the address of the array but the memory access to the whole
memory range must be recorded instead.

R=golang-dev, dvyukov, r
CC=golang-dev
https://golang.org/cl/8053044
src/cmd/gc/builtin.c
src/cmd/gc/racewalk.c
src/cmd/gc/runtime.go
src/pkg/runtime/race.c
src/pkg/runtime/race/testdata/mop_test.go