[llvm-commits] [patch] link archive files in llvm-link

Charles Mason cemasoniv at gmail.com
Sat Aug 25 01:21:39 PDT 2012


I've been doing a bit of toying around with the IR bytecode in llvm and
didn't find an obvious command line utility to incrementally link objects
and archives.

Thus, the attached patch was born.

It adds a command line option -a to llvm-link.  The archive is opened and
modules are linked, one at a time, after all object files have been linked
first.

I'm still new to llvm so my apologies if this could have been written
better :)

Charles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120825/9dfe42d2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: link-archives.patch
Type: application/octet-stream
Size: 4708 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120825/9dfe42d2/attachment.obj>


More information about the llvm-commits mailing list