Message ID | CAOyqgcXu7EqBeDNE15ia_QMwM3p2g0+XZa7h1w84acZF08hNug@mail.gmail.com |
---|---|
State | New |
Headers | show |
diff -r df28882adbdf libgo/go/runtime/pprof/pprof.go --- a/libgo/go/runtime/pprof/pprof.go Fri Apr 17 12:28:57 2015 -0700 +++ b/libgo/go/runtime/pprof/pprof.go Fri Apr 17 14:24:43 2015 -0700 @@ -351,6 +351,10 @@ if !show && !strings.Contains(name, ".") && strings.HasPrefix(name, "__go_") { continue } + if !show && name == "" { + // This can happen due to http://gcc.gnu.org/PR65797. + continue + } show = true fmt.Fprintf(w, "#\t%#x\t%s+%#x\t%s:%d\n", pc, name, pc-f.Entry(), file, line) }