addr2line seems slow

Patrick Doyle doylep@eecg.toronto.edu
Sun Jul 29 10:19:00 GMT 2001


On 29 Jul 2001, Ian Lance Taylor wrote:

> The behaviour of bfd_find_nearest_line differs from different object
> file formats.  You didn't mention which format you were using.
> 
> For some object file formats, bfd_find_nearest_line caches the values.
> For some, it sorts the data and does a lookup for each call.  For
> others, it does a linear search through the debugging information.

I'm sorry, it's the ELF x86 format.  Do you know what approach it uses for
that format?

--
Patrick Doyle
doylep@eecg.toronto.edu



More information about the Binutils mailing list