1
0
mirror of https://github.com/golang/go synced 2024-11-26 07:47:57 -07:00

debug/gosym: put pclinetest file in temporary directory

where it belongs.

R=rsc
CC=golang-dev
https://golang.org/cl/11596043
This commit is contained in:
Keith Randall 2013-07-19 12:31:42 -07:00
parent 6fc49c1854
commit c38173bcbd

View File

@ -49,7 +49,6 @@ func dotest(self bool) bool {
// the resulting binary looks like it was built from pclinetest.s,
// but we have renamed it to keep it away from the go tool.
pclinetestBinary = filepath.Join(pclineTempDir, "pclinetest")
pclinetestBinary = "pclinetest"
command := fmt.Sprintf("go tool 6a -o %s.6 pclinetest.asm && go tool 6l -H linux -E main -o %s %s.6",
pclinetestBinary, pclinetestBinary, pclinetestBinary)
cmd := exec.Command("sh", "-c", command)