]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: simplify fingerprint logic
authorMatthew Dempsky <mdempsky@google.com>
Wed, 23 Mar 2022 19:22:50 +0000 (12:22 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Fri, 25 Mar 2022 21:58:03 +0000 (21:58 +0000)
commit3dac99ad4cdc7014343bcbddf01aca2d9e7a4e96
treed75c5beabef6f1eeb4b88f57af5dec3fefdc3ed8
parent3dac914b772f7c99bb749839946ca68878a65f35
cmd/compile: simplify fingerprint logic

Historically, we sometimes recorded imports based on either package
path ("net/http") or object file path ("net/http.a"). But modern Go
build systems always use package path, and the extra ".a" suffix
doesn't mean anything anyway.

Change-Id: I6060ef8bafa324168710d152a353f4d8db062133
Reviewed-on: https://go-review.googlesource.com/c/go/+/395254
Trust: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/compile/internal/noder/import.go
src/cmd/link/internal/ld/ld.go
test/fixedbugs/bug369.go