This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add -dB option to disable backtraces
- From: Markus Trippelsdorf <markus at trippelsdorf dot de>
- To: Andi Kleen <andi at firstfloor dot org>
- Cc: gcc-patches at gcc dot gnu dot org, Andi Kleen <ak at linux dot intel dot com>
- Date: Wed, 17 May 2017 07:26:19 +0200
- Subject: Re: [PATCH] Add -dB option to disable backtraces
- Authentication-results: sourceware.org; auth=none
- References: <20170517021647.8495-1-andi@firstfloor.org>
On 2017.05.16 at 19:16 -0700, Andi Kleen wrote:
> From: Andi Kleen <ak@linux.intel.com>
>
> When running creduce on an ICE substantial amounts of the total
> CPU time go to backtrace_qsort() (sorting dwarf of the compiler) for
> printing the backtrace of the ICE. When running a reduction we don't need the
> backtrace. So add a -dB option to turn it off, and make reduction
> a bit faster.
It is useful when reducing compiler segfaults, because here one should
grep for a symbol in the backtrace to not end up with an unrelated
crash.
--
Markus