]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: keep DWARF constant DIE symbols live
authorCherry Zhang <cherryyz@google.com>
Wed, 30 Oct 2019 23:49:53 +0000 (19:49 -0400)
committerCherry Zhang <cherryyz@google.com>
Thu, 31 Oct 2019 01:09:58 +0000 (01:09 +0000)
commit5a210b58588f9614c33e1b1e7231a9968879d9e4
tree3ea212bc2d5c5230c3c9dbe9792d1e7eb045ea56
parent43d25a61c16bfe263c61d36237ee1b51a545b8cf
[dev.link] cmd/link: keep DWARF constant DIE symbols live

DWARF constant DIE symbols are not referenced by any other symbol,
but are needed by the DWARF pass, where they get linked to the
compilation unit.

Reenable gdb constant test.

Change-Id: If77a0d379d9a6f1591939345bc31b027c2567f22
Reviewed-on: https://go-review.googlesource.com/c/go/+/204397
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/link/internal/ld/deadcode2.go
src/runtime/runtime-gdb_test.go