[llvm] r211315 - Use lib/LTO directly in the gold plugin.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Jun 19 18:05:22 PDT 2014


On 19 June 2014 19:28, Nick Kledzik <kledzik at apple.com> wrote:
> Rafael,
>
> What are your thoughts on how LTO support will be added to lld?

They are fuzzy with regards to the actual implementation. Probably the
only strong opinion so far is that tools/lto should not be used.

What I do have is a list of desirable properties that seem possible
with gold+plugin. I want to experiment with that to get a better
feeling of what a implementation in lld should look like. Have you
seen the talk on the last dev meeting? I went into some detail there,
but some of the nice things I think we can get are

* Don't read the full bitcode until all of symbol resolution is done.
* Drop duplicated comdats/weak symbols even before passing the modules
to lib/Linker.
* Have at most 2 loaded bitcode files at once.

Cheers,
Rafael



More information about the llvm-commits mailing list