Use export data in LoadTypes mode, when it is available to get the type information. The lock can be moved back to loadFromExportData, as each package is loaded in topological order, and all calls to loadFromExportData for a particular package occur when that package is being loaded. Fixes golang/go#26834 Change-Id: Ib6c28eb8642a473cc100d54d0aac7b90644d5d22 Reviewed-on: https://go-review.googlesource.com/128365 Reviewed-by: Michael Matloob <matloob@golang.org> Reviewed-by: Alan Donovan <adonovan@google.com> |
||
|---|---|---|
| .. | ||
| ast/astutil | ||
| buildutil | ||
| callgraph | ||
| gccgoexportdata | ||
| gcexportdata | ||
| internal | ||
| loader | ||
| packages | ||
| pointer | ||
| ssa | ||
| types/typeutil | ||
| vcs | ||