]> Cypherpunks repositories - gostls13.git/commit
cmd/link: do not store compilation directory in DWARF info
authorRuss Cox <rsc@golang.org>
Tue, 31 Oct 2017 19:42:17 +0000 (15:42 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 31 Oct 2017 23:49:04 +0000 (23:49 +0000)
commit2f170520aa460561997636dec66f303ee69ab684
tree8e14826899ed642bd2a5cc7be35a7eff6e4308d7
parentf1ce59d988f02deb47c3fd33cbc40542726ea76c
cmd/link: do not store compilation directory in DWARF info

This makes 'go install cmd/compile' in one directory produce
a different binary from running it in another directory,
which is problematic for reproducible builds.

Change-Id: If26685d2e45d2695413b472142b49694716575fa
Reviewed-on: https://go-review.googlesource.com/74790
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/cmd/link/internal/ld/dwarf.go