[LLVMdev] new LTO C interface

Evan Cheng evan.cheng at apple.com
Mon Feb 25 11:14:17 PST 2008


On Feb 25, 2008, at 11:02 AM, Nick Kledzik wrote:

> I'll work on another round with the feedback so far.
>
>
> On SundayFeb 24, at Feb 24, Sunday11:24 PM, Evan Cheng wrote:
>> 1. __LTO__ -> LLVM_C_LTO
>
> This one is actually interesting.  The names started out with llvm  
> in them, but then we realized that this was a generic interface from  
> the linker to some foreign object file format.  So, some other  
> compiler could create an LTO shared object that exports the same  
> lto_ interface and it would just work with the linker.  Therefore,  
> although this implementation is llvm specific, the interface is not.

Ok, that makes sense. Ignore my comments about naming convention, etc.  
then. However, does this mean the interface should not be part of llvm  
if it's truly compiler neutral?

Evan

>
> -Nick
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list