]> Cypherpunks repositories - gostls13.git/commit
cmd/go: trim objdir, not just workdir, from object files
authorRuss Cox <rsc@golang.org>
Tue, 31 Oct 2017 19:14:49 +0000 (15:14 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 31 Oct 2017 23:49:28 +0000 (23:49 +0000)
commitbf21c67b1e2d5a3268749c25024df9f401b35b65
treee57ed690ea43507a9027aa927b4113fa9e5dd6e8
parent2f170520aa460561997636dec66f303ee69ab684
cmd/go: trim objdir, not just workdir, from object files

Otherwise the new numbered directories like b028/ appear in the objects,
and they can change from run to run.

Fixes #22514.

Change-Id: I8d0cf65f3622e48b2547d5757febe0ee1301e2ed
Reviewed-on: https://go-review.googlesource.com/74791
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/cmd/go/internal/work/gc.go
src/runtime/race/output_test.go