commit | 8822487ed776d55eafed44de7d89ee54bbfbab47 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Mon Apr 08 17:26:29 2019 -0700 |
committer | Ian Lance Taylor <iant@golang.org> | Tue Apr 09 04:36:15 2019 +0000 |
tree | 4ac104f889b9698088e71a9546bedbaa48bea6e9 | |
parent | a69f7c05f1880bb90544fb0c3577109cb1d7f3ab [diff] |
compiler: sort packages in export data more deterministically We can have multiple packages with the same name, so also sort by pkgpath. To avoid an inconsistent sort, sort by symbol and pointer address if we somehow get two different packages with the same name and pkgpath. Change-Id: Iaff153bb63e4ff53cc885397068d0820a4ac40b8 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/171032 Reviewed-by: Cherry Zhang <cherryyz@google.com>