[LLVMdev] LLVM-C Patch : LLVMConvertModuleToC

Chris Lattner clattner at apple.com
Fri Sep 17 17:51:13 PDT 2010


On Sep 17, 2010, at 3:28 PM, F van der Meeren wrote:

> 
> On 17 Sep 2010, at 23:14, Eric Christopher wrote:
> 
>>> 
>>> 
>>>> And combining modules is something that seemed a primitive to me.
>>> 
>>> Why not just wrap the Linker interface?
>> 
>> To be more specific, why not just wrap certain specific Linker calls instead of another big function that does a huge amount of work?
>> 
>> -eric
> 
> Done, and I will make an opensource project on github for my methods.
> From now on I will only push the bear minimum for what I need to complete my tasks.
> Sorry for the misunderstanding

One issue with this: putting bindings like this into VMCore won't work, because it will cause circular library dependencies.  All of LLVM's libraries are layered, so we need to make sure to add the bindings to the appropriate layer.

-Chris





More information about the llvm-dev mailing list