]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/compile, cmd/link: move DWARF info sym to anonymous aux data
authorThan McIntosh <thanm@google.com>
Mon, 16 Mar 2020 12:13:16 +0000 (08:13 -0400)
committerThan McIntosh <thanm@google.com>
Fri, 20 Mar 2020 16:19:15 +0000 (16:19 +0000)
commit673a02a235a92c3078b78a41f09ad09b0c8c81a4
treea0924b1fa48428aca883d8f59c0f421500e2e3f4
parent62b0790a790c9c7adab0d5a8fa2ec659203c9252
[dev.link] cmd/compile, cmd/link: move DWARF info sym to anonymous aux data

Switch the primary subprogram die DWARF symbol emitted by the compiler
from named+dupOK to anonymous aux. This should help performance wise
by not having to add these symbols to the linker's symbol name lookup
tables.

Change-Id: Idf66662b8bf60b3dee9a55e6cd5137b24a9f5ab6
Reviewed-on: https://go-review.googlesource.com/c/go/+/223669
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/internal/obj/objfile.go
src/cmd/internal/obj/objfile2.go
src/cmd/internal/obj/plist.go
src/cmd/internal/obj/sym.go
src/cmd/link/internal/ld/dwarf.go
src/cmd/link/internal/loader/loader.go