[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 #13 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Fri Apr 17 21:29:08 2015
New Revision: 222199

URL: https://gcc.gnu.org/viewcvs?rev=222199&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:
    branches/gcc-5-branch/libgo/go/runtime/pprof/pprof.go



More information about the Gcc-bugs mailing list