libgo patch committed: Fix runtime/pprof test when libgo compiled with -O0

2015-05-11 Thread Ian Lance Taylor
The runtime/pprof package builds stack traces that skip runtime functions. When libgo is compiled with -O0, the function profilealloc appears on the stack trace, but the package doesn't know to skip it. Rename the function so that it is skipped. This lets the runtime/pprof test pass when libgo is

libgo patch committed: Fix runtime/pprof test

2012-07-25 Thread Ian Lance Taylor
This patch to libgo fixes the runtime/pprof test to pass, and enables it. it cleans up the runtime interface for profiling a little bit. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu. Committed to mainline and 4.7 branch. Ian diff -r 55f2af449cde libgo/Makefile.am --- a/libgo/Ma