PR go/64683
commitdb72219339ae0366e28cd53e20e8afafa1422e6c
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Apr 2015 21:29:20 +0000 (17 21:29 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Apr 2015 21:29:20 +0000 (17 21:29 +0000)
tree77e29dc8ecd2f053caff12333b2bea420f4d41ef
parent17ceef2d1fbe4ff6c92f996d96fae451b8ba1d26
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222200 138bc75d-0d04-0410-961f-82ee72b054a4
libgo/go/runtime/pprof/pprof.go