]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: refactor DWARF fn die processing to remove name lookups
authorThan McIntosh <thanm@google.com>
Wed, 20 May 2020 19:06:22 +0000 (15:06 -0400)
committerThan McIntosh <thanm@google.com>
Tue, 26 May 2020 17:33:19 +0000 (17:33 +0000)
commit8ca2eae206cbe063de68cec046f41a7c7b8c4d4f
treef4bfa28930e87d6c8439d43746f7ef3bf000012b
parent96ec09da4885f0c09f0b1bb94d0a1e2b483495ca
[dev.link] cmd/link: refactor DWARF fn die processing to remove name lookups

Rework the code in the linker that visits DWARF subprorgam DIEs to
reduce number of symbol name instantiations and name lookups, by
making better use of relocation target symbol types.

Change-Id: Ifb2a4e24874b8c891d7fdf17dd749c3f9139157a
Reviewed-on: https://go-review.googlesource.com/c/go/+/234685
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/ld/dwarf.go