Skip to content

Commit

Permalink
runtime/race: update race runtime
Browse files Browse the repository at this point in the history
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 (golang#10589). But generally just
brings in an up-to-date runtime.

Update golang#8653
Fixes golang#10589

Change-Id: I7ac9614d014ee89c2302ce5e096d326ef293f367
Reviewed-on: https://go-review.googlesource.com/16827
Reviewed-by: Keith Randall <[email protected]>
  • Loading branch information
dvyukov committed Nov 12, 2015
1 parent e8b4c5b commit c5f0f88
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/runtime/race/README
Original file line number Diff line number Diff line change
@@ -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.
Binary file modified src/runtime/race/race_darwin_amd64.syso
Binary file not shown.
Binary file modified src/runtime/race/race_freebsd_amd64.syso
Binary file not shown.
Binary file modified src/runtime/race/race_linux_amd64.syso
Binary file not shown.
Binary file modified src/runtime/race/race_windows_amd64.syso
Binary file not shown.

0 comments on commit c5f0f88

Please sign in to comment.