]> Cypherpunks.ru repositories - gostls13.git/commit
cmd,runtime: enable race detector on s390x
authorIlya Leoshkevich <iii@linux.ibm.com>
Thu, 22 Jul 2021 12:49:48 +0000 (14:49 +0200)
committerGopher Robot <gobot@golang.org>
Wed, 4 May 2022 14:17:20 +0000 (14:17 +0000)
commit87cf92e7d51aea29eae0266b6d65e1a5b6244131
tree38a8651e5de42526edef10fd15a439ae092032e5
parent93218ea1a755f67b8aae15dab92387716d50fecc
cmd,runtime: enable race detector on s390x

LLVM has SystemZ ThreadSanitizer support now [1], this patch integrates
it with golang. The biggest part is the glue code in race_s390x.s,
which is derived from race_arm64.s, and then the support needs to be
enabled in four places.

[1] https://reviews.llvm.org/D105629

Change-Id: I1d4e51beb4042603b681e4aca9af6072879d54d6
Reviewed-on: https://go-review.googlesource.com/c/go/+/336549
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Keith Randall <khr@golang.org>
src/cmd/internal/sys/supported.go
src/race.bash
src/runtime/race/race.go
src/runtime/race_s390x.s [new file with mode: 0644]