Go to file
Andrew Gerrand 57335a8a8f cover: accept inaccurate block endings
When cover is used with cgo packages, the coverage profile is produced
from the cgo-generated Go source files, so the profile will reference
line and column numbers from that generated source, even though it names
the original file.
This is okay in general because the cgo-generated Go source files are
very similar to the original, with one significant exception:
the original source may refer to C identifiers such as C.foo(), but the
cgo tool generates source that rewrites these mentions to something like
_Cfunc_foo.
This means that column numbers in coverage profiles might be higher than
they should be, so be lenient when interpreting them.

Update golang/go#9479

Change-Id: Ic3abef07471614101ce0c686d35b85e7e5e6a777
Reviewed-on: https://go-review.googlesource.com/2410
Reviewed-by: Rob Pike <r@golang.org>
2015-01-07 02:00:16 +00:00
astutil astutil: add Unparen utility, eliminating 7 copies. 2014-12-29 22:24:57 +00:00
benchmark/parse benchmark/parse, cmd/benchcmp: new package for parsing benchmarks 2015-01-06 01:34:08 +00:00
blog tools: add import comments. 2014-12-09 22:42:16 +00:00
cmd cmd/godoc: add golang.org/x/playground custom import path 2015-01-06 02:12:10 +00:00
container/intsets all: address vet reports 2014-12-29 06:08:34 +00:00
cover cover: accept inaccurate block endings 2015-01-07 02:00:16 +00:00
dashboard dashboard/coordinator: use new dashboard JSON interface to find work 2015-01-05 22:24:23 +00:00
go go/types: make import check optional via a flag in types.Config 2014-12-31 00:06:02 +00:00
godoc godoc/redirect: update the rules for /cl/ redirect 2014-12-22 03:14:31 +00:00
imports tools: add import comments. 2014-12-09 22:42:16 +00:00
oracle astutil: add Unparen utility, eliminating 7 copies. 2014-12-29 22:24:57 +00:00
playground tools: add import comments. 2014-12-09 22:42:16 +00:00
present tools: add import comments. 2014-12-09 22:42:16 +00:00
refactor cmd/gorename: make Usage documentation sensible in godoc 2014-12-30 16:36:43 +00:00
.gitattributes tools: copying .gitattributes to all subrepositories (fixes windows build) 2014-12-23 06:32:51 +00:00
.gitignore convert .hgignore to .gitignore. 2014-12-08 10:49:54 +11:00
AUTHORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
CONTRIBUTORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
LICENSE LICENSE: add 2012-03-17 15:20:58 +11:00
PATENTS go.empty: add PATENTS file to the subrepo. 2012-04-16 11:24:04 +10:00
README go.tools/README: minor correction. 2013-10-29 13:20:58 -04:00

README

This subrepository holds the source for various packages and tools that support
the Go programming language.

Some of the tools, godoc and vet for example, are included in binary Go distributions.
Others, including the Go oracle and the test coverage tool, can be fetched with "go get".

Packages include a type-checker for Go and an implementation of the
Static Single Assignment form (SSA) representation for Go programs.

To submit changes to this repository, see http://golang.org/doc/contribute.html.