commit | c0eb142035b5aa4db001a5cc0703b55a8fbf9540 | [log] [tgz] |
---|---|---|
author | Alan Donovan <adonovan@google.com> | Fri Oct 12 14:52:13 2018 -0400 |
committer | Alan Donovan <adonovan@google.com> | Fri Oct 12 20:14:14 2018 +0000 |
tree | dc7033391fd8cbf8d15358a8abd3485671e07786 | |
parent | d1d6d0cbb6ff4d6a2964061c75da5b56df012720 [diff] |
go/analysis/passes/asmdecl: fix a panic under go1.10 Now that asmdecl is not in the standard repo, we must not assume that types.SizesFor knows about all architectures and panic if it does not. This change makes it print a warning and assume 64-bit norms. Change-Id: Idacad350b2fc9343adfb32539fec7003b39380ed Reviewed-on: https://go-review.googlesource.com/c/141679 Reviewed-by: Michael Matloob <matloob@golang.org> Run-TryBot: Michael Matloob <matloob@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
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 guru
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.
The easiest way to install is to run go get -u golang.org/x/tools/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/tools
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the tools repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/tools/(your subdir):” in the subject line, so it is easy to find.