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/ld/deadcode.go | |
| 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/ld/deadcode.go')
0 files changed, 0 insertions, 0 deletions
