[Bug go/64683] FAIL: runtime/pprof -- testing.go:278: The entry did not match

ian at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Apr 17 21:29:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64683

--- Comment #14 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Fri Apr 17 21:29:20 2015
New Revision: 222200

URL: https://gcc.gnu.org/viewcvs?rev=222200&root=gcc&view=rev
Log:
    PR go/64683
runtime/pprof: Assume function with no name is in runtime.

GCC PR 65797 causes some of the runtime functions to be
compiled with no name in the debug info.  This in turn causes
the runtime/pprof test to fail as reported in GCC PR 64683.

There are no good choices when a function has no name in the
debug info, but here we assume that if we see such a function
while reading the runtime functions, we assume that it is also
a runtime function.

Modified:
    trunk/libgo/go/runtime/pprof/pprof.go



More information about the Gcc-bugs mailing list