[LLVMdev] On LLD performance

Rui Ueyama ruiu at google.com
Fri Mar 20 15:08:25 PDT 2015


Newly-added undefined symbols may be solved by other file in the same
archive, so you've got to restart scanning from beginning. You would visit
the same symbol many times. Is that faster?

On Fri, Mar 20, 2015 at 3:03 PM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

>  > I think that wouldn't work. When we find a member file in an archive
> that
> > resolves an undefined symbol, the file would add both undefined and
> defined
> > symbols. We would need to scan the list of symbols again.
>
> Yes, keep scanning until no member is added.
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150320/14309cad/attachment.html>


More information about the llvm-dev mailing list