[LLVMdev] What's the difference between using llvm-link and using llvm gold plugin?

Tianyin Xu tixu at cs.ucsd.edu
Tue Jun 26 16:47:03 PDT 2012


I got your point! Thanks a lot, Rafael!

Best,
Tianyin

On Tue, Jun 26, 2012 at 4:12 PM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> > Could you explain a bit more (sorry I'm not from a compiler background)?
> So,
> > what's the difference in the analysis perspective? What does "reading ELF
> > files and archives" and "creating a list of symbols passed to llvm's
> > internalize pass" do?
> >
> > I checked a little bit the corresponding .ll file generated according to
> the
> > .bc file. It seems that symbols like struct and function names are
> > preserved. What is missing here? Is it possible for you to give an simple
> > example?
>
> There is an example in
>
> http://llvm.org/docs/GoldPlugin.html#example1
>
> Where some files are native ELF files and some are IL. Gold is able to
> handle it, llvm-link will just tell you that it doesn't know about the
> ELF format.
>
> > Thanks a lot!
> > Tianyin
>
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120626/d708c08b/attachment.html>


More information about the llvm-dev mailing list