]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove FS debug hash form
authorRuss Cox <rsc@golang.org>
Tue, 9 May 2023 03:31:00 +0000 (23:31 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 9 May 2023 16:07:13 +0000 (16:07 +0000)
commit134c9b2b171be3515ecef1787ef25435908c17c0
treea5e0f12597f437c24c40e3d3ffe70e149f4db541
parentda5a3146ec903cdcb779d501be4ff88fd775820e
cmd/compile: remove FS debug hash form

The FS form was only necessary for reliable hashes in tests,
and for that we can use -trimpath.

Another potential concern would be temporary work directory
names leaking into the names of files generated by cgo and the
like, but we already make sure to avoid those to ensure
reproducible builds: the compiler never sees those paths.
So the FS form is not necessary for that either.

Change-Id: Idae2c6acb22ab64dfb33bb053244d23fbe153830
Reviewed-on: https://go-review.googlesource.com/c/go/+/493737
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/base/flag.go
src/cmd/compile/internal/base/hashdebug.go
src/cmd/compile/internal/loopvar/loopvar_test.go