1
0
mirror of https://github.com/golang/go synced 2024-10-04 22:21:22 -06:00
go/src/pkg/runtime/race
Dmitriy Vyukov 4b536a550f runtime: introduce GODEBUG env var
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
2013-06-28 18:37:06 +04:00
..
testdata runtime/race: add tests for method thunks 2013-06-17 17:59:53 +04: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.