1
0
mirror of https://github.com/golang/go synced 2024-11-19 05:54:44 -07:00
go/ssa
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
..
interp go.tools/ssa: CreateTestMainPackage: synthesize test driver as a package ("testmain") not 'main' function. 2013-10-23 18:07:53 -04:00
testdata go.tools/ssa: fix ssa tests (fix build partly) 2013-09-18 11:39:55 -07:00
blockopt.go go.tools/ssa: implement correct control flow for recovered panic. 2013-10-14 15:38:56 -04:00
builder_test.go go.tools/ssa: fix computation of set of types requiring method sets. 2013-10-23 17:07:52 -04:00
builder.go go.tools/ssa: CreateTestMainPackage: synthesize test driver as a package ("testmain") not 'main' function. 2013-10-23 18:07:53 -04:00
const.go go.tools/go/types: nil is not a constant + misc. cleanups 2013-10-09 14:17:25 -07:00
create.go go.tools/ssa: fix computation of set of types requiring method sets. 2013-10-23 17:07:52 -04:00
doc.go go.tools/ssa: doc tweaks + a sanity check. 2013-10-09 12:47:30 -04:00
dom.go go.tools/ssa: implement correct control flow for recovered panic. 2013-10-14 15:38:56 -04:00
emit.go go.tools/ssa: fix computation of set of types requiring method sets. 2013-10-23 17:07:52 -04:00
example_test.go go.tools/importer: expose CreatePackage method. 2013-10-10 12:37:49 -04:00
func.go go.tools/ssa: implement correct control flow for recovered panic. 2013-10-14 15:38:56 -04:00
lift.go go.tools/ssa: implement correct control flow for recovered panic. 2013-10-14 15:38:56 -04:00
lvalue.go go.tools: add copyright messages to source files. 2013-08-27 18:49:13 -04:00
print.go go.tools/ssa: s/Ret/Return/g 2013-10-08 12:31:39 -04:00
promote.go go.tools/ssa: fix computation of set of types requiring method sets. 2013-10-23 17:07:52 -04:00
sanity.go go.tools/ssa: fix computation of set of types requiring method sets. 2013-10-23 17:07:52 -04:00
source_test.go go.tools/importer: expose CreatePackage method. 2013-10-10 12:37:49 -04:00
source.go go.tools/ssa: build a separate Function for each init() func. 2013-10-14 14:08:23 -04:00
ssa.go go.tools/ssa: fix computation of set of types requiring method sets. 2013-10-23 17:07:52 -04:00
stdlib_test.go go.tools/importer: generalize command-line syntax. 2013-09-06 18:13:57 -04:00
testmain.go go.tools/ssa: CreateTestMainPackage: synthesize test driver as a package ("testmain") not 'main' function. 2013-10-23 18:07:53 -04:00
util.go go.tools/ssa: implement correct control flow for recovered panic. 2013-10-14 15:38:56 -04:00
visit.go go.tools/ssa: fix computation of set of types requiring method sets. 2013-10-23 17:07:52 -04:00