The fallback driver wasn't returning the roots in a deterministic order because it was using sticking them in a map and then iterating over that map to get each element. Put them into a slice instead (and make a few small associated changes) to preserve behavior. Fixes golang/go#28040 Fixes golang/go#28609 Change-Id: Ib8f8c88d65b7a48b2b04ca91e2d3c316d5bb5803 Reviewed-on: https://go-review.googlesource.com/c/148880 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
|---|---|---|
| .. | ||
| analysis | ||
| ast | ||
| buildutil | ||
| callgraph | ||
| cfg | ||
| expect | ||
| gccgoexportdata | ||
| gcexportdata | ||
| internal | ||
| loader | ||
| packages | ||
| pointer | ||
| ssa | ||
| types | ||
| vcs | ||