]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/race: restore previous version of LLVM TSAN on macOS
authorCherry Mui <cherryyz@google.com>
Tue, 12 Aug 2025 19:51:45 +0000 (15:51 -0400)
committerCherry Mui <cherryyz@google.com>
Wed, 13 Aug 2025 05:06:00 +0000 (22:06 -0700)
Apparently CL 692996 made the Darwin race builders to be very
flaky. That CL does two things: 1. uses "ld -r" to strip out the
dynamic symbol table; 2. updates to a newer version of LLVM TSAN.
To narrow it down, this CL undoes the second part, restpring the
previous version of LLVM TSAN, but keeps the "ld -r" part.

For #74978.

Change-Id: I0611d733232b18440f249cd5a0b76f7e1ff99a55
Reviewed-on: https://go-review.googlesource.com/c/go/+/695137
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Bypass: Cherry Mui <cherryyz@google.com>
Commit-Queue: Cherry Mui <cherryyz@google.com>

src/runtime/race/README
src/runtime/race/internal/amd64v1/race_darwin.syso
src/runtime/race/race_darwin_amd64.go
src/runtime/race/race_darwin_arm64.go
src/runtime/race/race_darwin_arm64.syso

index 4fc20efeb309659bea945278e2b22dd2dc65fef3..def7bfec868308c2e4fdf73d7c838cfcff7f6cef 100644 (file)
@@ -4,14 +4,14 @@ the LLVM project (https://github.com/llvm/llvm-project/tree/main/compiler-rt).
 
 To update the .syso files use golang.org/x/build/cmd/racebuild.
 
-internal/amd64v1/race_darwin.syso built with LLVM 0398ad41bdf1ce5f74c80a74494bfe733fe3e214 and Go b2960e35804aafbbb0df9973f99b034bea8c150a.
+internal/amd64v1/race_darwin.syso built with LLVM 51bfeff0e4b0757ff773da6882f4d538996c9b04 and Go e7d582b55dda36e76ce4d0ce770139ca0915b7c5.
 internal/amd64v1/race_freebsd.syso built with LLVM 51bfeff0e4b0757ff773da6882f4d538996c9b04 and Go e7d582b55dda36e76ce4d0ce770139ca0915b7c5.
 internal/amd64v1/race_linux.syso built with LLVM 51bfeff0e4b0757ff773da6882f4d538996c9b04 and Go e7d582b55dda36e76ce4d0ce770139ca0915b7c5.
 internal/amd64v1/race_netbsd.syso built with LLVM 51bfeff0e4b0757ff773da6882f4d538996c9b04 and Go e7d582b55dda36e76ce4d0ce770139ca0915b7c5.
 internal/amd64v1/race_openbsd.syso built with LLVM fcf6ae2f070eba73074b6ec8d8281e54d29dbeeb and Go 8f2db14cd35bbd674cb2988a508306de6655e425.
 internal/amd64v1/race_windows.syso built with LLVM 51bfeff0e4b0757ff773da6882f4d538996c9b04 and Go e7d582b55dda36e76ce4d0ce770139ca0915b7c5.
 internal/amd64v3/race_linux.syso built with LLVM 51bfeff0e4b0757ff773da6882f4d538996c9b04 and Go e7d582b55dda36e76ce4d0ce770139ca0915b7c5.
-race_darwin_arm64.syso built with LLVM 0398ad41bdf1ce5f74c80a74494bfe733fe3e214 and Go b2960e35804aafbbb0df9973f99b034bea8c150a.
+race_darwin_arm64.syso built with LLVM 51bfeff0e4b0757ff773da6882f4d538996c9b04 and Go e7d582b55dda36e76ce4d0ce770139ca0915b7c5.
 race_linux_arm64.syso built with LLVM 51bfeff0e4b0757ff773da6882f4d538996c9b04 and Go e7d582b55dda36e76ce4d0ce770139ca0915b7c5.
 race_linux_loong64.syso built with LLVM 83fe85115da9dc25fa270d2ea8140113c8d49670 and Go 037112464b4439571b45536de9ebe4bc9e10ecb7.
 race_linux_ppc64le.syso built with LLVM 51bfeff0e4b0757ff773da6882f4d538996c9b04 and Go e7d582b55dda36e76ce4d0ce770139ca0915b7c5.
index eb9782e105a15110b89817299ac9dabc0f06dcbc..d3a9c200a500c86d5e3b560fd9644f19c22f08f2 100644 (file)
Binary files a/src/runtime/race/internal/amd64v1/race_darwin.syso and b/src/runtime/race/internal/amd64v1/race_darwin.syso differ
index ef92e41c2760ccc841f459cd03da707167d62447..3f4e587e6bbeadf0c1c6bfc7759a95c7a812e3a2 100644 (file)
@@ -37,7 +37,6 @@ package race
 //go:cgo_import_dynamic dyld_shared_cache_iterate_text dyld_shared_cache_iterate_text ""
 //go:cgo_import_dynamic execve execve ""
 //go:cgo_import_dynamic exit exit ""
-//go:cgo_import_dynamic fcntl fcntl ""
 //go:cgo_import_dynamic fstat$INODE64 fstat$INODE64 ""
 //go:cgo_import_dynamic ftruncate ftruncate ""
 //go:cgo_import_dynamic getpid getpid ""
index 97eab4d6840acd02172e931e0497e8870ab4cc11..66e327efcc4105bee950ec23014f3947920b99d6 100644 (file)
@@ -37,7 +37,6 @@ package race
 //go:cgo_import_dynamic dyld_shared_cache_iterate_text dyld_shared_cache_iterate_text ""
 //go:cgo_import_dynamic execve execve ""
 //go:cgo_import_dynamic exit exit ""
-//go:cgo_import_dynamic fcntl fcntl ""
 //go:cgo_import_dynamic fstat fstat ""
 //go:cgo_import_dynamic ftruncate ftruncate ""
 //go:cgo_import_dynamic getpid getpid ""
index eb25805f000104df672c63cb6399571496d03f01..706951f4716dc1779ede54b6a5766adb653f921f 100644 (file)
Binary files a/src/runtime/race/race_darwin_arm64.syso and b/src/runtime/race/race_darwin_arm64.syso differ