diff options
| author | Cherry Zhang <cherryyz@google.com> | 2020-06-01 19:36:16 -0400 |
|---|---|---|
| committer | Cherry Zhang <cherryyz@google.com> | 2020-06-04 16:06:33 +0000 |
| commit | 7bc3b6e5e4b6061ebfa267fcb27731ac94ae7f4d (patch) | |
| tree | 78cc42a79306d2324d5010702f0adcb13b997c8e /src/cmd/link/internal/sym | |
| parent | 7795523910227cb6df3c91ebdb317037fc9ceb86 (diff) | |
| download | go-7bc3b6e5e4b6061ebfa267fcb27731ac94ae7f4d.tar.xz | |
[dev.link] cmd/link: use fingerprint as package hash
Now the compiler-generated fingerprint is a hash of the export
data. We don't need to hash it ourselves in the linker. And the
linker doesn't need to read export data at all.
Fixes #33820.
Change-Id: I54bf3ebfd0f0c72aa43a352d7b2e0575dd62970d
Reviewed-on: https://go-review.googlesource.com/c/go/+/236119
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Diffstat (limited to 'src/cmd/link/internal/sym')
| -rw-r--r-- | src/cmd/link/internal/sym/library.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cmd/link/internal/sym/library.go b/src/cmd/link/internal/sym/library.go index 18e1380a68..7f6e63c020 100644 --- a/src/cmd/link/internal/sym/library.go +++ b/src/cmd/link/internal/sym/library.go @@ -12,7 +12,6 @@ type Library struct { File string Pkg string Shlib string - Hash string Fingerprint goobj2.FingerprintType Autolib []goobj2.ImportedPkg Imports []*Library |
