[llvm-dev] LTO on libraries
David Callahan via llvm-dev
llvm-dev at lists.llvm.org
Fri Dec 4 15:54:45 PST 2015
Hello,
Is there a combination of the current tools would would allow me to apply LTO to a set of object files where are less than an entire application? Similar to “ld –r” for doing a partial link.
I assume it would start with “clang –flto –c {a,b,c}.c” but the a subsequent link step fails do to unresolved references of course.
Using llvm-link will linke the bitcode files but does not trigger compilation.
Thanks
david
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151204/f76616a9/attachment.html>
More information about the llvm-dev
mailing list