tools/go/ssa
Alan Donovan 7a49e427c8 go/loader: don't create types.Package for "unsafe"
https://golang.org/cl/37694 is a backwards-incompatible change to the
go/types API that causes "unsafe" to be included among the results of
(*types.Package).Imports().  Client packages such as go/loader and
go/ssa now need to recognize the special unsafe package and its
unusual *Bultin members and not create a types.Package for it.

Change-Id: I902725d3053cb887246978efdb5ec5dcdc0e4818
Reviewed-on: https://go-review.googlesource.com/37710
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-03-02 21:55:26 +00:00
..
interp x/tools: simplify and format code 2017-02-28 14:15:42 +00:00
ssautil tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
testdata go/ssa: emit DebugRefs for x, y = z() assignments 2015-10-23 10:25:05 +00:00
blockopt.go go.tools/go/ssa: don't attempt fusion on single-pred blocks with φ-nodes 2014-04-24 09:08:21 -04:00
builder.go x/tools/go: gofmt -s -w 2017-02-15 21:43:35 +00:00
builder_test.go go/ssa: eliminate dead φ-nodes in cycles 2017-02-22 01:23:56 +00:00
const.go tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
create.go go/loader: don't create types.Package for "unsafe" 2017-03-02 21:55:26 +00:00
doc.go go/ssa: update package doc to mention ssautil.CreateProgram 2015-07-27 18:48:45 +00:00
dom.go go.tools/go/ssa: use bytes.Buffer instead of io.Writer. 2014-01-28 17:48:10 -05:00
emit.go tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
example_test.go tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
func.go tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
lift.go go/ssa: eliminate dead φ-nodes in cycles 2017-02-22 01:23:56 +00:00
lvalue.go tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
methods.go tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
mode.go go/ssa: make *BuilderMode satisfy flag.Value 2016-03-07 22:18:09 +00:00
print.go tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
sanity.go tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
source.go tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
source_test.go tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
ssa.go x/tools/go/ssa: remove unused field from NamedConst 2017-03-01 14:40:01 +00:00
stdlib_test.go go/ssa: avoid no-arg println(), for gccgo compatibility 2016-11-23 22:44:20 +00:00
testmain.go tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
testmain_test.go go/ssa: support custom TestMain functions in test packages 2016-10-19 17:50:59 +00:00
util.go tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
wrappers.go tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00