[LLVMdev] LLVM as a DLL

Owen Anderson resistor at mac.com
Tue May 13 19:44:03 PDT 2008


On May 13, 2008, at 9:22 PM, Jonathan S. Shapiro wrote:
> Owen:
>
> This is not correct. As the API stabilizes, it will become  
> increasingly
> attractive to package LLVM as dynamic libraries.
>
> One consequence of continuous compilation is that there is a
> progressively larger body of tools that need to be "in on the joke"
> about compilation at various stages. This is particularly true about
> things like JIT engines, wherein every single process may need a
> completely redundant copy of the LLVM libraries.
>
> So if linkers choke on LLVM, we either need to submit upstream patches
> on those linkers or reconfigure the LLVM libraries so that things do  
> not
> choke.
>

We do in fact produce one shared library: libLTO, which contains the  
parts necessary for implementing link-time optimization in a linker,  
for just the reasons you pointed out above. ;-)

--Owen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4260 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080513/33d33a74/attachment.bin>


More information about the llvm-dev mailing list