Skip to content

Commit 404ae84

Browse files
committed
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 <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
1 parent b4efd09 commit 404ae84

File tree

1 file changed

+1
-1
lines changed
  • src/cmd/link/internal/ld

1 file changed

+1
-1
lines changed

src/cmd/link/internal/ld/lib.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ func (l *Link) hostlink() {
11471147
}
11481148

11491149
if l.Debugvlog != 0 {
1150-
l.Logf("host link:")
1150+
l.Logf("%5.2f host link:", obj.Cputime())
11511151
for _, v := range argv {
11521152
l.Logf(" %q", v)
11531153
}

0 commit comments

Comments
 (0)