aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debug
diff options
context:
space:
mode:
authorDamien Neil <dneil@google.com>2016-02-08 17:20:59 -0800
committerDamien Neil <dneil@google.com>2016-02-18 20:56:29 +0000
commit5bbb98df0960f57dca73cb7640456608d4cc0917 (patch)
tree54a730aab6ae44591d9eeebe44e35b13f4de93d3 /src/runtime/debug
parent1a94431a78c4de5182dd43b438701cca80455746 (diff)
downloadgo-5bbb98df0960f57dca73cb7640456608d4cc0917.tar.xz
cmd/go, cmd/link: make builds deterministic
Add the following flags when supported by the compiler: -gno-record-gcc-switches -fdebug-prefix-map=$WORK=/tmp/go-build Add an empty NAME symbol to the ELF .symtab. GNU ld will add a NAME symbol when one is not present; including one of our own prevents it from adding a reference to the link tempdir. Fixes #13247 for compilers that support -fdebug-prefix-map. (gcc, clang in the near future.) Change-Id: I221c71fc59cd23ee8c99bcc038793ff4623c9ffc Reviewed-on: https://go-review.googlesource.com/19363 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Damien Neil <dneil@google.com>
Diffstat (limited to 'src/runtime/debug')
0 files changed, 0 insertions, 0 deletions