]> Cypherpunks repositories - gostls13.git/commit
misc/cgo/testsanitizers: don't run some TSAN tests on GCC < 7
authorIan Lance Taylor <iant@golang.org>
Tue, 7 Jun 2016 04:44:24 +0000 (21:44 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 8 Jun 2016 05:08:11 +0000 (05:08 +0000)
commitd1b5d08f341cbc702e1d2a3cd86ab1ad93a90c41
treec2afce82a5ef25bced3bb8ec512dfd6fa330a9e9
parentf605c77bbcc7946531e0914f13a0a14aae5f2991
misc/cgo/testsanitizers: don't run some TSAN tests on GCC < 7

Before GCC 7 defined __SANITIZE_THREAD__ when using TSAN,
runtime/cgo/libcgo.h could not determine reliably whether TSAN was in
use when using GCC.

Fixes #15983.

Change-Id: I5581c9f88e1cde1974c280008b2230fe5e971f44
Reviewed-on: https://go-review.googlesource.com/23833
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Hudson-Doyle <michael.hudson@canonical.com>
misc/cgo/testsanitizers/test.bash