Commit ae334147 authored by Russ Cox's avatar Russ Cox

cgo: add more information about gcc output parsing failures

R=r
https://golang.org/cl/152084
parent c3343ef6
......@@ -96,6 +96,10 @@ func (p *Prog) loadDebugInfo() {
}
}
if nerrors > 0 {
fatal("failed to interpret gcc output:\n%s", stderr)
}
// Extract the types from the DWARF section of an object
// from a well-formed C program. Gcc only generates DWARF info
// for symbols in the object file, so it is not enough to print the
......
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