]> Cypherpunks repositories - gostls13.git/commit
cmd/addr2line: use the test binary as 'addr2line' instead of rebuilding it twice
authorBryan C. Mills <bcmills@google.com>
Tue, 15 Nov 2022 16:06:03 +0000 (11:06 -0500)
committerGopher Robot <gobot@golang.org>
Tue, 15 Nov 2022 20:27:54 +0000 (20:27 +0000)
commit318ceda632c3e961b2d883262ea57f06ab09d06d
tree69d0437d17cf756f76eebef84295181798370d3a
parentb95e9bc41e2d1e6c0c2077659f5996a68dc54c41
cmd/addr2line: use the test binary as 'addr2line' instead of rebuilding it twice

This not only reduces the latency of the test, but also respects
build flags like '-race' and '-cover' passed to the 'go test' command.

Change-Id: Ie9a3c03d32d7eea268ba6f8f8ac4000539434052
Reviewed-on: https://go-review.googlesource.com/c/go/+/450713
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/cmd/addr2line/addr2line_test.go