]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/link: add time stamp to hostlink print in -v mode
authorRuss Cox <rsc@golang.org>
Wed, 21 Sep 2016 19:03:52 +0000 (15:03 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 21 Sep 2016 20:25:48 +0000 (20:25 +0000)
Change-Id: I128b142aee5e1b917e7ba63b48512972f053ea0b
Reviewed-on: https://go-review.googlesource.com/29531
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/link/internal/ld/lib.go

index 9b7d7a99c7e69cfc8002bbcfaa9dcae1eeca14dc..42a379ad07c5fd03c8d696fbb37ac8bf33e210e9 100644 (file)
@@ -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)
                }