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
stamp
It looks fine to me, but I will defer it to @dvyukov
Please use clang-format.
In D80469#2061054, @krytarowski wrote: It looks fine to me, but I will defer it to @dvyukov Please use clang-format.
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?
@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.
ran clang-format - thanks for the pointer!
Is anything else needed from me?
Landed in https://github.com/llvm/llvm-project/commit/fcf6ae2f070eba73074b6ec8d8281e54d29dbeeb Thanks.
clang-format: please reformat the code