]> Cypherpunks repositories - gostls13.git/commit
cmd/vet: add support for vet-specific export data
authorRuss Cox <rsc@golang.org>
Fri, 20 Apr 2018 16:16:58 +0000 (12:16 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 11 Jun 2018 18:23:40 +0000 (18:23 +0000)
commitb111f3cc679f44961dc8a78b24a502fb12d6dde2
tree7d0e53b69b747d2c5be547a236d7b51835667758
parent9e9ff565cdef4ef4db2955f0e96c9e83d452b4af
cmd/vet: add support for vet-specific export data

An upcoming change to cmd/go will enable this functionality, which
allows vet to write down information about one package for use by
later invocation of vet that analyze code importing that package.

We've intended to do this for a long time, but the build caching was
necessary to have a decent way to manage the vet-specific export data.

This is also an experiment in building scalable whole-program analyses.
In the long term we'd like to allow other analyses to be invoked this way.

Change-Id: I34e4b70445786b2e8707ff6a0c00947bf1491511
Reviewed-on: https://go-review.googlesource.com/117099
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/vet/asmdecl.go
src/cmd/vet/doc.go
src/cmd/vet/main.go