From: Josh Bleecher Snyder Date: Wed, 1 Mar 2017 13:29:17 +0000 (+0000) Subject: Revert "cmd/vet/all: remove pprof from the whitelist" X-Git-Tag: go1.9beta1~1370 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9bd1cc3fa1145182e9ce041d0e96bd2051cd7fcf;p=gostls13.git Revert "cmd/vet/all: remove pprof from the whitelist" This reverts commit 12b6c18139233abd7b1af1fc0a07279d56df3642. Reason for revert: Broke vet builder. #19322 was not fully fixed. Change-Id: Id85131d4d0b8915480d65e3532da62b769463d70 Reviewed-on: https://go-review.googlesource.com/37625 Reviewed-by: Josh Bleecher Snyder --- diff --git a/src/cmd/vet/all/main.go b/src/cmd/vet/all/main.go index 87e5c51dfd..7011111659 100644 --- a/src/cmd/vet/all/main.go +++ b/src/cmd/vet/all/main.go @@ -191,6 +191,9 @@ var ignorePathPrefixes = [...]string{ // TODO: If vet ever uses go/loader and starts working off source, // this problem will likely go away. "fmt/fmt_test.go", + // Ignore pprof for the moment to get the builders happy. + // TODO: Fix all the issues and reinstate. + "cmd/vendor/github.com/google/pprof", } func vetPlatforms(pp []platform) {