mirror of
https://github.com/golang/go
synced 2024-10-04 22:21:22 -06:00
4b536a550f
Currently it replaces GOGCTRACE env var (GODEBUG=gctrace=1). The plan is to extend it with other type of debug tracing, e.g. GODEBUG=gctrace=1,schedtrace=100. R=rsc CC=bradfitz, daniel.morsing, gobot, golang-dev https://golang.org/cl/10026045 |
||
---|---|---|
.. | ||
testdata | ||
doc.go | ||
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.