llvm-project/llgo/cmd
Peter Collingbourne 38a7dde1c5 llgoi: Fix type identity for imported binary packages.
go/loader creates a fresh package map for each source package it imports. In
llgoi this caused binary imported packages to be imported anew for every input
line, resulting in spurious type errors and panics in go/ssa when encountering
previously imported types. Fix this by setting types.Config.Packages to our
internal package map.

Differential Revision: http://reviews.llvm.org/D8409

llvm-svn: 232617
2015-03-18 08:34:40 +00:00
..
cc-wrapper
cgo Build cgo and llgo-go 2015-02-14 01:46:01 +00:00
gllgo Update for API change 2015-02-13 22:58:36 +00:00
go Build cgo and llgo-go 2015-02-14 01:46:01 +00:00
llgoi llgoi: Fix type identity for imported binary packages. 2015-03-18 08:34:40 +00:00