]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd: add flag to mark gotype symbols
authorThan McIntosh <thanm@google.com>
Wed, 16 Oct 2019 13:13:59 +0000 (09:13 -0400)
committerThan McIntosh <thanm@google.com>
Thu, 17 Oct 2019 14:18:37 +0000 (14:18 +0000)
commit8011051361d85ca0c062f7226e80afbad21341c8
treea3f92e9860d12f3f1dcef29c79afe502c2b01cc8
parent15634a023062ad29ba53e8a4211e15d389f86ee9
[dev.link] cmd: add flag to mark gotype symbols

Add a flag bit to mark symbols in the new object file as containing Go
type information. The use of a flag eliminates the need to do symbol
name matching as part of the new dead code elimination pass, which
should produce a minor speedup.

Change-Id: Iec8700e1139e2c4e310644c0766379865d2d6f82
Reviewed-on: https://go-review.googlesource.com/c/go/+/201399
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/internal/goobj2/objfile.go
src/cmd/internal/obj/objfile2.go
src/cmd/link/internal/ld/deadcode2.go
src/cmd/link/internal/loader/loader.go