[cfe-dev] llvm-ld question

Sun, Rui rui.sun at intel.com
Wed Aug 1 03:52:43 PDT 2012


Hi, CLANGers,

I used llvm-ar to package the object files for a program into several libraries, and used "llvm-ld <lib1> <llib2> ...<libn>" trying to link them into a final bc file. But the result file is one with only 192 bytes without any real content. Does llvm-ld only accept object files in the command line?

Thanks,
Rui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120801/3eece1c7/attachment.html>


More information about the cfe-dev mailing list