-
Notifications
You must be signed in to change notification settings - Fork 17.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtime/race: add GOAMD64=v3 version of linux race .syso
Makes -race mode faster, in the 15% speedup range. Update #53743 Change-Id: I735eb71902b41c924c9f885ded8f7a350a56b751 Reviewed-on: https://go-review.googlesource.com/c/go/+/444396 Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Than McIntosh <thanm@google.com>
- Loading branch information
Showing
5 changed files
with
6 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
//go:build linux || darwin || freebsd || netbsd || openbsd || windows | ||
// +build linux darwin freebsd netbsd openbsd windows | ||
//go:build (linux && !amd64.v3) || darwin || freebsd || netbsd || openbsd || windows | ||
// +build linux,!amd64.v3 darwin freebsd netbsd openbsd windows | ||
|
||
package race | ||
|
||
import _ "runtime/race/internal/amd64v1" | ||
|
||
// Note: the build line above will eventually be something | ||
// like go:build linux && !amd64.v3 || darwin && !amd64.v3 || ... | ||
// as we build v3 versions for each OS. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
//go:build none | ||
// +build none | ||
//go:build linux && amd64.v3 | ||
// +build linux,amd64.v3 | ||
|
||
package race | ||
|
||
import _ "runtime/race/internal/amd64v3" | ||
|
||
// Note: the build line above will eventually be something | ||
// like go:build linux && amd64.v3 || darwin && amd64.v3 || ... | ||
// as we build v3 versions for each OS. |