aboutsummaryrefslogtreecommitdiff
path: root/src/strings
diff options
context:
space:
mode:
authorMichael Hudson-Doyle <michael.hudson@canonical.com>2016-05-02 14:46:40 +1200
committerMichael Hudson-Doyle <michael.hudson@canonical.com>2016-05-03 00:49:46 +0000
commit499cd3371997bdb6e33377266754d20782ef134d (patch)
tree798fbd1ba6a5fa4f6ab30c4cf66cc83013eed483 /src/strings
parentf459660cb85abd504845f93fdb65b1932bd6ac37 (diff)
downloadgo-499cd3371997bdb6e33377266754d20782ef134d.tar.xz
cmd/cgo: an approach to tsan that works with gcc
GCC, unlike clang, does not provide any way for code being compiled to tell if -fsanitize-thread was passed. But cgo can look to see if that flag is being passed and generate different code in that case. Fixes #14602 Change-Id: I86cb5318c2e35501ae399618c05af461d1252d2d Reviewed-on: https://go-review.googlesource.com/22688 Run-TryBot: Michael Hudson-Doyle <michael.hudson@canonical.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/strings')
0 files changed, 0 insertions, 0 deletions