[llvm-dev] Creating and using "shared library" of LLVM IR

Mehdi Amini via llvm-dev llvm-dev at lists.llvm.org
Fri May 13 11:00:22 PDT 2016


> On May 13, 2016, at 10:56 AM, Tarun Prabhu <tarunprabhu at gmail.com> wrote:
> 
> Any reason you're not using static archives? It seems to correspond more to what you're trying to do (i.e. LTO all the code in a single binary).
> 
> 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).

Other people may have different experience, CC Rafael maybe?

-- 
Mehdi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160513/91854d03/attachment.html>


More information about the llvm-dev mailing list