From: Russ Cox Date: Wed, 21 Sep 2016 19:03:52 +0000 (-0400) Subject: cmd/link: add time stamp to hostlink print in -v mode X-Git-Tag: go1.8beta1~1203 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=404ae84aa220943c85fe04e9d7499087aedb0677;p=gostls13.git cmd/link: add time stamp to hostlink print in -v mode Change-Id: I128b142aee5e1b917e7ba63b48512972f053ea0b Reviewed-on: https://go-review.googlesource.com/29531 Run-TryBot: Russ Cox TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- diff --git a/src/cmd/link/internal/ld/lib.go b/src/cmd/link/internal/ld/lib.go index 9b7d7a99c7..42a379ad07 100644 --- a/src/cmd/link/internal/ld/lib.go +++ b/src/cmd/link/internal/ld/lib.go @@ -1147,7 +1147,7 @@ func (l *Link) hostlink() { } if l.Debugvlog != 0 { - l.Logf("host link:") + l.Logf("%5.2f host link:", obj.Cputime()) for _, v := range argv { l.Logf(" %q", v) }