1
0
mirror of https://github.com/golang/go synced 2024-11-25 02:47:58 -07:00
go/misc/cgo/testshared/testdata
Cherry Zhang 9f33108dfa cmd/link: skip zero values in fingerprint check
Normally, packages are loaded in dependency order, and if a
Library object is not nil, it is already loaded with the actual
fingerprint. In shared build mode, however, packages may be added
not in dependency order (e.g. go install -buildmode=shared std
adds all std packages before loading them), and it is possible
that a Library's fingerprint is not yet loaded. Skip the check
in this case (when the fingerprint is the zero value).

Fixes #39777.

Change-Id: I66208e92bf687c8778963ba8e33e9bd948f82f3a
Reviewed-on: https://go-review.googlesource.com/c/go/+/239517
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
2020-06-23 18:38:32 +00:00
..
dep2
dep3
depBase
division
exe
exe2
exe3
execgo
explicit
global
globallib
iface
iface_a
iface_b
iface_i
implicit
implicitcmd
issue25065
issue30768 cmd/link: put shlib ".type" functions in internal ABI 2019-07-15 22:54:39 +00:00
issue39777 cmd/link: skip zero values in fingerprint check 2020-06-23 18:38:32 +00:00
trivial