]> Cypherpunks repositories - gostls13.git/commit
runtime, cmd: support race detector on darwin/arm64
authorCherry Zhang <cherryyz@google.com>
Thu, 29 Oct 2020 15:27:17 +0000 (11:27 -0400)
committerCherry Zhang <cherryyz@google.com>
Fri, 30 Oct 2020 19:00:33 +0000 (19:00 +0000)
commitb53df56001a6bd375b1dc2026908f331729cd731
tree62c4e0fb6d903f738e244f1bd410946e59b8049d
parent6d087c807e558a7e4f7da29fd44998e6f605c27d
runtime, cmd: support race detector on darwin/arm64

https://reviews.llvm.org/D90435 is the counterpart in LLVM TSAN.

race_linux_arm64.syso is built with LLVM commit
00da38ce2d36c07f12c287dc515d37bb7bc410e9 on a macOS/ARM64 machine.
(It is not built on a builder with golang.org/x/build/cmd/racebuild
as we don't have darwin/arm64 builder for now.)

Updates #38485.

Change-Id: I391efdacd9480197e308370bfccd05777deb4aee
Reviewed-on: https://go-review.googlesource.com/c/go/+/266373
Trust: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/dist/test.go
src/cmd/go/internal/work/init.go
src/cmd/internal/sys/supported.go
src/cmd/link/internal/ld/config.go
src/cmd/link/internal/loadmacho/ldmacho.go
src/runtime/race/README
src/runtime/race/race.go
src/runtime/race/race_darwin_arm64.syso [new file with mode: 0644]
src/runtime/race_arm64.s