runtime: Fix runtime/pprof test when libgo is not optimized.
authorIan Lance Taylor <ian@gcc.gnu.org>
Mon, 11 May 2015 16:19:23 +0000 (16:19 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 11 May 2015 16:19:23 +0000 (16:19 +0000)
commitb1b0e90567f461bcd76511ffbaacd3f91f3c8c9b
treeca2076085cadde84d093d695ed2994a6c60704dd
parentf1ed9790a36ceff598fc2ad873a0bb7778c9fa6e
runtime: Fix runtime/pprof test when libgo is not optimized.

When libgo is not optimized the static function profilealloc
in malloc.goc shows up in the stack trace.  Rename it to
runtime_profilealloc so that runtime/pprof.printStackRecord
ignores it.

From-SVN: r223006
libgo/runtime/malloc.goc