]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: remove vestigial importpath symbol logic
authorMatthew Dempsky <mdempsky@google.com>
Tue, 29 Aug 2023 08:15:55 +0000 (01:15 -0700)
committerGopher Robot <gobot@golang.org>
Tue, 29 Aug 2023 20:28:09 +0000 (20:28 +0000)
commit52a5881beeb946363515777a48c8a229ad66dd7a
treec016136f8f35e75186c4bebf33b42c09c701f1ff
parent08bf6d14053fe861811e244156d451098c34c13f
cmd/compile: remove vestigial importpath symbol logic

The object file format now has an explicit section for tracking which
packages were imported, so we don't need to write out importpath
symbols for all directly imported packages anymore.

However, keep the logic for writing out individual importpath symbols,
because it's still relevant to runtime type descriptor generation.

Change-Id: I184ff320e894ba43ca0f8a3d2678e4b2bbbe6da5
Reviewed-on: https://go-review.googlesource.com/c/go/+/523875
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/compile/internal/gc/obj.go
src/cmd/compile/internal/reflectdata/reflect.go
src/cmd/compile/internal/types/pkg.go