This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix N^2 behavior in _bfd_dwarf2_find_symbol_bias


On Fri, Aug 16, 2019 at 07:19:41AM -0600, Tom Tromey wrote:
> 	* dwarf2.c (_bfd_dwarf2_find_symbol_bias): Create hash table
> 	holding symbols.

OK, but..

> +  sym_hash = htab_create_alloc (10, hash_asymbol, eq_asymbol,
> +				NULL, xcalloc, free);
> +  /* FIXME: Do we need to scan the aranges looking for the lowest
> +     pc value ?  */

the above comment doesn't make sense here.  It should stay where it
was in the func loop since it is referring to function aranges.

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]