This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFA 1/5] Skip entire CU if it comes before dwarf_start_die
On Fri, Oct 06, 2017 at 02:41:21PM -0600, Tom Tromey wrote:
> Currently, when investigating a very large .debug_info using
> objdump --dwarf-start, objdump will still read every DIE. However, it
> would be faster to skip entire CUs until the starting DIE appears. That
> is what this patch implements. This is PR binutils/22249.
>
> 2017-10-06 Tom Tromey <tom@tromey.com>
>
> PR binutils/22249:
> * dwarf.c (process_debug_info): Skip entire CU if it does not
> contain dwarf_start_die.
Looks good to me.
--
Alan Modra
Australia Development Lab, IBM