]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/compile: refactor aux handling in newobj sym traversal
authorThan McIntosh <thanm@google.com>
Mon, 16 Mar 2020 19:24:48 +0000 (15:24 -0400)
committerThan McIntosh <thanm@google.com>
Fri, 20 Mar 2020 16:19:07 +0000 (16:19 +0000)
commit62b0790a790c9c7adab0d5a8fa2ec659203c9252
tree793fb07584e2a7e7cec761be8dd3993e173f888c
parent5d9cdbb84085407b54f618084bbb9c742b86ecd1
[dev.link] cmd/compile: refactor aux handling in newobj sym traversal

Generalize symbol traversal code for aux symbols to allow for client
control over whether the walk incldues symbols referenced by
relocations on visited aux syms. This is not needed just yet but will
be required in order to support anonymous aux syms that have
relocations.

Change-Id: I898c1f398213c8d9d777dd3c40524a013b25e348
Reviewed-on: https://go-review.googlesource.com/c/go/+/223668
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/internal/obj/objfile2.go
src/cmd/internal/obj/sym.go