]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: add loader method to sort sub-symbols of outer symbol
authorThan McIntosh <thanm@google.com>
Thu, 12 Dec 2019 16:28:07 +0000 (11:28 -0500)
committerThan McIntosh <thanm@google.com>
Fri, 20 Dec 2019 21:03:23 +0000 (21:03 +0000)
commit3c3ba97ba5e0f0a9b8455d53e2790851c6ba0c7b
treef93c7e160b30997857dd4becaeed42be13b42591
parent66c74b78caf1628f058bf92ccf13c1f2b4054cfd
[dev.link] cmd/link: add loader method to sort sub-symbols of outer symbol

Add a new loader method SymSortSub that sorts the sub-symbols
of a given outer symbol (designed to be compatible with the
existing sym.Symbol method).

Change-Id: Icd6627b2e6d04524d657e712cfd39fda0e0e080b
Reviewed-on: https://go-review.googlesource.com/c/go/+/211297
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/link/internal/loader/loader.go
src/cmd/link/internal/loader/loader_test.go