1
0
mirror of https://github.com/golang/go synced 2024-11-19 03:54:42 -07:00
go/ssa/interp
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: implement correct control flow for recovered panic. 2013-10-14 15:38:56 -04:00
external_plan9.go go.tools/ssa/interp: capture stdout/err of target programs and check for "BUG". 2013-10-08 14:35:39 -04:00
external_unix.go go.tools/ssa/interp: capture stdout/err of target programs and check for "BUG". 2013-10-08 14:35:39 -04:00
external_windows.go go.tools: add go/types, ssa, and cmd/vet 2013-05-17 13:20:39 -07:00
external.go go.tools/ssa/interp: capture stdout/err of target programs and check for "BUG". 2013-10-08 14:35:39 -04:00
interp_test.go go.tools/ssa: CreateTestMainPackage: synthesize test driver as a package ("testmain") not 'main' function. 2013-10-23 18:07:53 -04:00
interp.go go.tools/ssa/interp: use new Sizes interface (fix build) 2013-10-15 15:30:03 -07:00
map.go go.tools/ssa/interp: fixes to equivalence relations. 2013-09-16 15:22:19 -04:00
ops.go go.tools/ssa/interp: make typeAssert robust against nil types 2013-10-23 13:45:49 -07:00
reflect.go go.tools/ssa/interp: use new Sizes interface (fix build) 2013-10-15 15:30:03 -07:00
value.go go/tools/ssa/interp: make iface.eq robust against nil types 2013-10-23 13:26:23 -07:00