1
0
mirror of https://github.com/golang/go synced 2024-10-01 12:38:31 -06:00
go/oracle
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
..
serial go.tools/oracle: support -format=xml (for Eclipse) 2013-09-24 15:08:14 -04:00
testdata/src go.tools/ssa: build a separate Function for each init() func. 2013-10-14 14:08:23 -04:00
callees.go go.tools/pointer: use new callgraph API. 2013-09-25 17:17:42 -04:00
callers.go go.tools/pointer: use new callgraph API. 2013-09-25 17:17:42 -04:00
callgraph.go go.tools/pointer: use new callgraph API. 2013-09-25 17:17:42 -04:00
callstack.go go.tools/pointer: use new callgraph API. 2013-09-25 17:17:42 -04:00
describe.go go.tools/pointer: use new callgraph API. 2013-09-25 17:17:42 -04:00
freevars.go go.tools/oracle: change -mode argument into subcommand. 2013-09-25 14:34:39 -04:00
implements.go go.tools/oracle: support -format=xml (for Eclipse) 2013-09-24 15:08:14 -04:00
oracle_test.go go.tools/ssa: fix computation of set of types requiring method sets. 2013-10-23 17:07:52 -04:00
oracle.go go.tools/ssa: CreateTestMainPackage: synthesize test driver as a package ("testmain") not 'main' function. 2013-10-23 18:07:53 -04:00
peers.go go.tools/pointer: use new callgraph API. 2013-09-25 17:17:42 -04:00
referrers.go go.tools/oracle: change -mode argument into subcommand. 2013-09-25 14:34:39 -04:00