]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/link: add debug print in hostobjCopy
authorCherry Mui <cherryyz@google.com>
Wed, 21 Dec 2022 00:31:40 +0000 (19:31 -0500)
committerCherry Mui <cherryyz@google.com>
Tue, 31 Jan 2023 19:45:12 +0000 (19:45 +0000)
commit780db9a63d73f26dd9614b67e6129b55e854a174
treed5a3087450d21c14bf7477bc7680095b5be4aca7
parent08425feae5e10f81e0c7d2b4a0f2cc7179174f45
cmd/link: add debug print in hostobjCopy

In external linking mode, when the external linker fails to handle
something in a host object file, it usually reports the name of
the host object which is a copied file named 000NNN.o. This is
often not helpful to determine what file it is. Add some debug
print so at least in -v mode it is more helpful.

Change-Id: Ibe762bff6a25640d16ee0dc082736ba5161b7522
Reviewed-on: https://go-review.googlesource.com/c/go/+/458735
Reviewed-by: Than McIntosh <thanm@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/link/internal/ld/lib.go