[llvm-dev] Link static library (.a) with a bitcode

Alberto Barbaro via llvm-dev llvm-dev at lists.llvm.org
Thu Feb 28 21:55:54 PST 2019


Hi,
I think you could compile your project using wllvm [1], extract the bitcode
using extract-bc and link all with llvm-as.

[1] https://github.com/travitch/whole-program-llvm

On Fri, Mar 1, 2019, 01:03 Mustakimur Khandaker via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Hi
>
> I am trying to build a complete bitcode (which includes static library
> codes), so I am looking for a way to link .bc and .a together. Is there
> anyway to do so?
>
>
> *Mustakimur R. Khandaker*
> Sent from Mailspring, the best free email app for work
> E: mrk15e at my.fsu.edu
> <https://link.getmailspring.com/link/1551398424.local-701e4ad2-18e5-v1.5.5-b7939d38@getmailspring.com/0?redirect=mailto%3Amrk15e%40my.fsu.edu&recipient=bGx2bS1kZXZAbGlzdHMubGx2bS5vcmc%3D>
> P: 8509993635
> W: http://ww2.cs.fsu.edu/~khandake/
> <https://link.getmailspring.com/link/1551398424.local-701e4ad2-18e5-v1.5.5-b7939d38@getmailspring.com/1?redirect=http%3A%2F%2Fww2.cs.fsu.edu%2F~khandake%2F&recipient=bGx2bS1kZXZAbGlzdHMubGx2bS5vcmc%3D>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190301/fdb39369/attachment.html>


More information about the llvm-dev mailing list