]> Cypherpunks repositories - gostls13.git/commit
cmd/go: ignore coverpkg match on sync/atomic in atomic coverage mode
authorIan Lance Taylor <iant@golang.org>
Mon, 5 Feb 2018 02:45:39 +0000 (18:45 -0800)
committerIan Lance Taylor <iant@golang.org>
Mon, 5 Feb 2018 15:32:06 +0000 (15:32 +0000)
commite6756ec1492558f4724b8942d4c60c982563aa42
tree224370c708a90d7a43704e7a1c6c682c349fdbc7
parent10d096fec2fe8f3e88f847fd0ac17c0601bf6442
cmd/go: ignore coverpkg match on sync/atomic in atomic coverage mode

Otherwise we get into a dependency loop as we try to apply coverage
analysis to sync/atomic when the coverage analysis itself requires
sync/atomic.

Fixes #23694

Change-Id: I3a74ef3881ec5c6197ed348acc7f9e175417f6c7
Reviewed-on: https://go-review.googlesource.com/91875
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/go/go_test.go
src/cmd/go/internal/test/test.go