diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-07-27 18:43:34 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-07-27 18:43:34 +0000 |
commit | 5ac2fd0d6edd8198ed10b66f48402678471c044c (patch) | |
tree | c774cea3b87cb75ea927518c69a4dd358cf23888 /gcc/combine.c | |
parent | 58f51e5ca290160e67dcbf3b89654e025c9d3136 (diff) | |
download | gcc-5ac2fd0d6edd8198ed10b66f48402678471c044c.zip gcc-5ac2fd0d6edd8198ed10b66f48402678471c044c.tar.gz gcc-5ac2fd0d6edd8198ed10b66f48402678471c044c.tar.bz2 |
libgo: prune sighandler frames in runtime.sigprof
When writing stack frames to the pprof CPU profile machinery, it is
very important to insure that the frames emitted do not contain any
frames corresponding to artifacts of the profiling process itself
(signal handlers, sigprof, etc). This patch changes runtime.sigprof to
strip out those frames from the raw stack generated by
"runtime.callers".
Fixes golang/go#26595.
Reviewed-on: https://go-review.googlesource.com/126175
From-SVN: r263035
Diffstat (limited to 'gcc/combine.c')
0 files changed, 0 insertions, 0 deletions