Enable OpenBSD support in buildgo.sh.
With the race_debug_openbsd_amd64.syso file created via this diff, Go's race detector is able to detect a race in the example code from this link: https://golang.org/doc/articles/race_detector.html
Paths
| Differential D80469
Add OpenBSD support in lib/tsan/go/buildgo.sh ClosedPublic Authored by qbit on May 23 2020, 7:06 AM.
Details
Summary Enable OpenBSD support in buildgo.sh. With the race_debug_openbsd_amd64.syso file created via this diff, Go's race detector is able to detect a race in the example code from this link: https://golang.org/doc/articles/race_detector.html
Diff Detail Event TimelineThis revision is now accepted and ready to land.May 26 2020, 9:49 AM Comment Actions
I wasn't sure about using clang-format, it changes a lot of stuff that isn't part of this initial diff - is that OK? Comment Actions @qbit, if you use git clang-format, it should format only the code around your diff (https://llvm.org/docs/Contributing.html#how-to-submit-a-patch). On OpenBSD, pkg_add llvm installs clang-format.
Revision Contents
Diff 267088 compiler-rt/lib/tsan/go/buildgo.sh
compiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp
|