[LLVMdev] What's the difference between using llvm-link and using llvm gold plugin?
Rafael EspĂndola
rafael.espindola at gmail.com
Tue Jun 26 16:12:54 PDT 2012
> 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
More information about the llvm-dev
mailing list