1
0
mirror of https://github.com/golang/go synced 2024-10-01 11:38:34 -06:00
go/cmd
Rob Pike 2afbb1cd5f go.tools/cmd/vet: handle symbolic TEXT annotations
The symbolic names such as NOSPLIT for annotations on the TEXT
directive appeared after vet started checking .s files. This CL tweaks
the regular expression to allow CAPITALS and the symbols | and +
as well as digits in that field, and interprets NOSPLIT as equivalent
to 7 in that field. All magic.

Fixes golang/go#6695

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/18700044
2013-11-01 11:49:11 -07:00
..
cover go.tools/cmd/cover: for range loops might contain function literals 2013-10-11 10:32:36 -07:00
godoc go.tools/cmd/godoc: search go.tools/cmd before $GOROOT/cmd 2013-10-18 10:42:41 +09:00
gotype go.tools/cmd/gotype: make gotype use go/build 2013-10-31 10:01:58 -07:00
html2article go.tools/cmd/html2article: move command from go.blog repository 2013-09-27 10:40:53 +10:00
oracle go.tools/oracle: change -mode argument into subcommand. 2013-09-25 14:34:39 -04:00
ssadump go.tools/ssa: CreateTestMainPackage: synthesize test driver as a package ("testmain") not 'main' function. 2013-10-23 18:07:53 -04:00
vet go.tools/cmd/vet: handle symbolic TEXT annotations 2013-11-01 11:49:11 -07:00