mirror of
https://github.com/golang/go
synced 2024-10-05 02:21:22 -06:00
ccc61eadd5
Range access functions are already available in TSan library but were not yet used. Time for go test -race -short: Before: compress/flate 24.244s exp/norm >200s go/printer 78.268s After: compress/flate 17.760s exp/norm 5.537s go/printer 5.738s Fixes #4250. R=dvyukov, golang-dev, fullung CC=golang-dev https://golang.org/cl/7229044 |
||
---|---|---|
.. | ||
testdata | ||
race_darwin_amd64.syso | ||
race_linux_amd64.syso | ||
race_test.go | ||
race_windows_amd64.syso | ||
race.go | ||
README |
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.