1
0
mirror of https://github.com/golang/go synced 2024-10-04 20:21:22 -06:00
go/src/pkg/runtime/race
Rémy Oudompheng a15074c4dc cmd/gc: fix race detector instrumentation of type switches.
A type switch on a value with map index expressions,
could get a spurious instrumentation from a OTYPESW node.
These nodes do not need instrumentation because after
walk the type switch has been turned into a sequence
of ifs.

Fixes #5890.

R=golang-dev, dvyukov
CC=golang-dev
https://golang.org/cl/11308043
2013-07-16 09:04:20 +02:00
..
testdata cmd/gc: fix race detector instrumentation of type switches. 2013-07-16 09:04:20 +02:00
doc.go runtime/race: improve public documentation 2013-05-13 10:28:12 +04:00
race_darwin_amd64.syso runtime/race: update runtime to r183644 2013-06-13 14:32:05 +04:00
race_linux_amd64.syso runtime/race: update runtime to r183644 2013-06-13 14:32:05 +04:00
race_test.go runtime: introduce GODEBUG env var 2013-06-28 18:37:06 +04:00
race_windows_amd64.syso runtime/race: update runtime to r183644 2013-06-13 14:32:05 +04:00
race.go runtime/race: remove now unused step parameter from range access functions 2013-06-13 16:38:44 +04:00
README runtime/race: more precise handling of finalizers 2012-11-14 16:58:10 +04:00

runtime/race package contains the data race detector runtime library.
It is based on ThreadSanitizer race detector, that is currently a part of
the LLVM project.

To update the .syso files you need to:
$ svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk
$ cd compiler-rt/lib/tsan/go
$ ./buildgo.sh

Tested with gcc 4.6.1 and 4.7.0.  On Windows it's built with 64-bit MinGW.