]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: stop marking DWARF constant symbols
authorCherry Zhang <cherryyz@google.com>
Wed, 1 Apr 2020 16:17:04 +0000 (12:17 -0400)
committerCherry Zhang <cherryyz@google.com>
Wed, 1 Apr 2020 18:30:26 +0000 (18:30 +0000)
commit8cc515ad3fe9f7f45470713ff1cd4faf323aef6a
treeb4d579bec4116610ae33156e74ee41a501cb6590
parentcc3039f818a372274180834385718d2dfccb1a26
[dev.link] cmd/link: stop marking DWARF constant symbols

DWARF constant symbols were always marked and converted to
sym.Symbols when DWARF generation uses sym.Symbols. Now that the
DWARF generation uses the loader, no need to force-mark them.

Change-Id: Ia4032430697cfa901fb4b6d106a483973277ea0a
Reviewed-on: https://go-review.googlesource.com/c/go/+/226803
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
src/cmd/link/internal/ld/deadcode2.go