This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: addr2line seems slow
- To: Ian Lance Taylor <ian at zembu dot com>
- Subject: Re: addr2line seems slow
- From: Patrick Doyle <doylep at eecg dot toronto dot edu>
- Date: Sun, 29 Jul 2001 13:19:13 -0400 (EDT)
- cc: binutils at gcc dot gnu dot org
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