[llvm-dev] Creating and using "shared library" of LLVM IR
Tarun Prabhu via llvm-dev
llvm-dev at lists.llvm.org
Fri May 13 14:23:44 PDT 2016
>
> > If you're doing LTO with shared library, usually you're still producing
> > shared library that are not bitcode (i.e. the LTO is performed separately
> > within the boundary of each library).
>
> Correct. If you want code to be linked in the binary (lto or not) you
> need to replace the shared library with a static one.
>
I think I understand now. Thank you all for helping.
Tarun
On Fri, May 13, 2016 at 1:27 PM, Rafael EspĂndola <
rafael.espindola at gmail.com> wrote:
> > I just want to avoid modifying the application's build system. If
> there's no
> > other way, I could go in and change the build scripts, but I'd like to
> avoid
> > doing that as much as possible.
> >
> >
> > If you're doing LTO with shared library, usually you're still producing
> > shared library that are not bitcode (i.e. the LTO is performed separately
> > within the boundary of each library).
>
> Correct. If you want code to be linked in the binary (lto or not) you
> need to replace the shared library with a static one.
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160513/c192958f/attachment.html>
More information about the llvm-dev
mailing list