From: Dmitry Vyukov Date: Thu, 12 Nov 2015 13:12:48 +0000 (+0100) Subject: runtime/race: update race runtime X-Git-Tag: go1.6beta1~493 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c5f0f881ad3066e92621339484f1183c86bd9a37;p=gostls13.git runtime/race: update race runtime The new revision is 389d49d4943780efbfcd2a434f4462b6d0f23c44 (Nov 13, 2015). The runtimes are built using the new x/build/cmd/racebuild utility. This update fixes a bug in race detection algorithm that can lead to occasional false negatives (#10589). But generally just brings in an up-to-date runtime. Update #8653 Fixes #10589 Change-Id: I7ac9614d014ee89c2302ce5e096d326ef293f367 Reviewed-on: https://go-review.googlesource.com/16827 Reviewed-by: Keith Randall --- diff --git a/src/runtime/race/README b/src/runtime/race/README index 52dd38e580..1831699935 100644 --- a/src/runtime/race/README +++ b/src/runtime/race/README @@ -1,12 +1,7 @@ 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. +the LLVM project (http://llvm.org/git/compiler-rt.git). -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 +To update the .syso files use golang.org/x/build/cmd/racebuild. -Tested with gcc 4.6.1 and 4.7.0. On Windows it's built with 64-bit MinGW. - -Current runtime is built on rev 229396. +Current runtime is built on rev 389d49d4943780efbfcd2a434f4462b6d0f23c44. diff --git a/src/runtime/race/race_darwin_amd64.syso b/src/runtime/race/race_darwin_amd64.syso index 9cf1eccde4..745d970eac 100644 Binary files a/src/runtime/race/race_darwin_amd64.syso and b/src/runtime/race/race_darwin_amd64.syso differ diff --git a/src/runtime/race/race_freebsd_amd64.syso b/src/runtime/race/race_freebsd_amd64.syso index 50ae2d342a..074b676d4a 100644 Binary files a/src/runtime/race/race_freebsd_amd64.syso and b/src/runtime/race/race_freebsd_amd64.syso differ diff --git a/src/runtime/race/race_linux_amd64.syso b/src/runtime/race/race_linux_amd64.syso index a141051931..042ca5924f 100644 Binary files a/src/runtime/race/race_linux_amd64.syso and b/src/runtime/race/race_linux_amd64.syso differ diff --git a/src/runtime/race/race_windows_amd64.syso b/src/runtime/race/race_windows_amd64.syso index 125115eaab..cb4446ba3e 100644 Binary files a/src/runtime/race/race_windows_amd64.syso and b/src/runtime/race/race_windows_amd64.syso differ