1
0
mirror of https://github.com/golang/go synced 2024-11-19 01:24:39 -07:00
go/pointer
Alan Donovan 8636f40baf go.tools/ssa: CreateTestMainPackage: synthesize test driver as a package ("testmain") not 'main' function.
This allows us to run/analyze multiple tests.
Also it causes the production code packages to be properly initialized.

Also:
- cmd/ssadump: improved usage message (add example;
  incorporate LoadInitialPackages usage; explain how -run
  finds main).
- pointer, oracle, ssa/interp: use CreateTestMainPackage.
- ssa/builder.go: remove 'rundefers' instruction from package init,
  which no longer uses 'defer'.

R=gri
CC=golang-dev
https://golang.org/cl/15920047
2013-10-23 18:07:53 -04:00
..
testdata go.tools/ssa: fix computation of set of types requiring method sets. 2013-10-23 17:07:52 -04:00
analysis.go go.tools/pointer: more reflection. 2013-10-17 09:26:44 -04:00
api.go go.tools/pointer: minor API simplifications. 2013-09-30 12:39:54 -04:00
callgraph.go go.tools/pointer: more reflection. 2013-10-17 09:26:44 -04:00
doc.go go.tools/pointer: make os.Args point to something. 2013-10-01 09:46:33 -04:00
example_test.go go.tools/importer: expose CreatePackage method. 2013-10-10 12:37:49 -04:00
gen.go go.tools/ssa: fix computation of set of types requiring method sets. 2013-10-23 17:07:52 -04:00
intrinsics.go go.tools/pointer: more reflection. 2013-10-17 09:26:44 -04:00
labels.go go.tools/pointer: make os.Args point to something. 2013-10-01 09:46:33 -04:00
pointer_test.go go.tools/ssa: CreateTestMainPackage: synthesize test driver as a package ("testmain") not 'main' function. 2013-10-23 18:07:53 -04:00
print.go go.tools/pointer: use assignable not identical type predicate in reflect.{Send,SetMapIndex,etc} 2013-10-14 13:53:41 -04:00
reflect.go go.tools/pointer: more reflection. 2013-10-17 09:26:44 -04:00
solve.go go.tools/pointer: use assignable not identical type predicate in reflect.{Send,SetMapIndex,etc} 2013-10-14 13:53:41 -04:00
TODO go.tools/pointer: make os.Args point to something. 2013-10-01 09:46:33 -04:00
util.go go.tools/pointer: reflect, part 2: channels. 2013-09-23 16:13:01 -04:00