Commit a15a0137 authored by Ian Lance Taylor's avatar Ian Lance Taylor

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: default avatarCherry Zhang <cherryyz@google.com>
parent 5538a9a3
...@@ -1255,7 +1255,7 @@ func determineGccgoManglingScheme() bool { ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment