tools/go/pointer
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
..
testdata go/pointer: fix two crashes caused by 'print()'. 2014-11-20 13:33:20 -05:00
TODO go.tools/go/pointer: eliminate TODOs regarding sound treatment of unsafe.Pointer. 2014-07-08 10:11:36 -04:00
analysis.go go/loader: rename SourceImports flag to ImportFromBinary and invert sense 2015-02-23 23:01:10 +00:00
api.go go/pointer: add TODO comment 2015-04-02 18:06:43 +00:00
callgraph.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
constraint.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
doc.go tools: add import comments. 2014-12-09 22:42:16 +00:00
example_test.go go/loader: eliminate ImportFromBinary option and PackageCreated hook 2015-04-17 18:58:17 +00:00
gen.go go/ssa: simplify TypesWithMethodSets 2015-01-22 14:03:32 +00:00
hvn.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
intrinsics.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
labels.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
opt.go go/pointer: implement pointer equivalence via hash-value numbering, a pre-solver optimization. 2014-06-16 15:46:07 -04:00
pointer_test.go go/loader: eliminate ImportFromBinary option and PackageCreated hook 2015-04-17 18:58:17 +00:00
print.go go/pointer: implement pointer equivalence via hash-value numbering, a pre-solver optimization. 2014-06-16 15:46:07 -04:00
reflect.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
solve.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
stdlib_test.go go/loader: eliminate ImportFromBinary option and PackageCreated hook 2015-04-17 18:58:17 +00:00
util.go go/types: expose IsInterface predicate, eliminating 6 copies 2015-01-21 18:49:27 +00:00