[RFA 1/5] Skip entire CU if it comes before dwarf_start_die

Alan Modra amodra@gmail.com
Sun Oct 8 23:39:00 GMT 2017


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



More information about the Binutils mailing list