tools/go
Alan Donovan 9c57c19a58 go/loader: eliminate ImportFromBinary option and PackageCreated hook
The loader package now loads, parses, and type-checks a whole program
from source, and that is all.

Also:
- simplified loader logic
- ssa.Create is gone; use ssautil.CreateProgram.
- ssautil.LoadPackage renamed to BuildPackage.
  It is now independent of go/types' Import hook and the Packages map.
- ssadump: -importbin flag removed.
  The value of this flag was that it caused the tool to print IR
  for only a single package; this is now the normal behaviour.

Fixes #9955

Change-Id: I4571118258ab1a46dccece3241b7dc51401a3acc
Reviewed-on: https://go-review.googlesource.com/8953
Reviewed-by: Robert Griesemer <gri@golang.org>
2015-04-17 18:58:17 +00:00
..
ast/astutil go/ast/astutil: match prefix segments when adding imports 2015-03-30 17:57:25 +00:00
buildutil go/buildutil: use chan (not func) in the ForEachPackage API 2015-03-05 20:14:20 +00:00
callgraph go/loader: eliminate ImportFromBinary option and PackageCreated hook 2015-04-17 18:58:17 +00:00
exact tools: add import comments. 2014-12-09 22:42:16 +00:00
gccgoimporter go/gccgoimporter: disable test case (fix build, at least partially) 2015-02-12 21:45:02 +00:00
gcimporter go/gcimporter: populate (*types.Package).Imports 2015-04-15 18:12:10 +00:00
importer tools: add import comments. 2014-12-09 22:42:16 +00:00
loader go/loader: eliminate ImportFromBinary option and PackageCreated hook 2015-04-17 18:58:17 +00:00
pointer go/loader: eliminate ImportFromBinary option and PackageCreated hook 2015-04-17 18:58:17 +00:00
ssa go/loader: eliminate ImportFromBinary option and PackageCreated hook 2015-04-17 18:58:17 +00:00
types go/gcimporter: populate (*types.Package).Imports 2015-04-15 18:12:10 +00:00
vcs go/vcs: fix bug in remote package discovery 2015-01-10 08:10:09 +00:00