mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/cgo: print the right error if mangling detection gccgo fails
Change-Id: I2324f6f51d2bf8a4ae1b139b3933bc78dfa75835 Reviewed-on: https://go-review.googlesource.com/c/158718 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
This commit is contained in:
parent
5538a9a34f
commit
a15a013772
1 changed files with 1 additions and 1 deletions
|
|
@ -1255,7 +1255,7 @@ func determineGccgoManglingScheme() bool {
|
||||||
cmd := exec.Command(gccgocmd, "-S", "-o", "-", gofilename)
|
cmd := exec.Command(gccgocmd, "-S", "-o", "-", gofilename)
|
||||||
buf, cerr := cmd.CombinedOutput()
|
buf, cerr := cmd.CombinedOutput()
|
||||||
if cerr != nil {
|
if cerr != nil {
|
||||||
fatalf("%s", err)
|
fatalf("%s", cerr)
|
||||||
}
|
}
|
||||||
|
|
||||||
// New mangling: expect go.l..u00e4ufer.Run
|
// New mangling: expect go.l..u00e4ufer.Run
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue