Hello, I'm working on a project that involves archive files and since llvm-link does not currently support them, I have a simple patch (attached) to add this functionality. It isn't really efficient (it recomputes the set of symbols that need to be linked in after each link), and it probably has some problems with append linkage, but so far it has been enough for me. I'd like to clean this up and commit it back to llvm. Would someone like to tell me how to proceed? Thanks. -- gregory malecha http://www.people.fas.harvard.edu/~gmalecha/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110729/00dd1768/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: link-archives.patch Type: text/x-patch Size: 8101 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110729/00dd1768/attachment.bin>
On 2011-07-29 16:16, Gregory Malecha wrote:> Hello, > > I'm working on a project that involves archive files and since llvm-link > does not currently support them, I have a simple patch (attached) to add > this functionality. It isn't really efficient (it recomputes the set of > symbols that need to be linked in after each link), and it probably has > some problems with append linkage, but so far it has been enough for me. > > I'd like to clean this up and commit it back to llvm. Would someone like > to tell me how to proceed?llvm-link is a very simple developer's tool. Can you use llvm-ld or a system linker that supports LLVM IL?> Thanks. >Cheers, Rafael
For my application it is important that I get bit code out the other end and I couldn't get the linux linker to link llvm. Is there a way to do this with other tools? I noticed a TODO in the llvm-link.cpp file that said that this should be done so I figured that that would be the right place to do it. 2011/7/30 Rafael Ávila de Espíndola <rafael.espindola at gmail.com>> On 2011-07-29 16:16, Gregory Malecha wrote: > > Hello, > > > > I'm working on a project that involves archive files and since llvm-link > > does not currently support them, I have a simple patch (attached) to add > > this functionality. It isn't really efficient (it recomputes the set of > > symbols that need to be linked in after each link), and it probably has > > some problems with append linkage, but so far it has been enough for me. > > > > I'd like to clean this up and commit it back to llvm. Would someone like > > to tell me how to proceed? > > llvm-link is a very simple developer's tool. Can you use llvm-ld or a > system linker that supports LLVM IL? > > > Thanks. > > > > Cheers, > Rafael > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-- gregory malecha http://www.people.fas.harvard.edu/~gmalecha/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110730/c1e383df/attachment.html>
Hi Rafael,>> I'm working on a project that involves archive files and since llvm-link >> does not currently support them, I have a simple patch (attached) to add >> this functionality. It isn't really efficient (it recomputes the set of >> symbols that need to be linked in after each link), and it probably has >> some problems with append linkage, but so far it has been enough for me. >> >> I'd like to clean this up and commit it back to llvm. Would someone like >> to tell me how to proceed? > > llvm-link is a very simple developer's tool.I don't see why it shouldn't support LLVM archives though. Ciao, Duncan. Can you use llvm-ld or a> system linker that supports LLVM IL? > >> Thanks. >> > > Cheers, > Rafael > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev