[LLVMdev] Cross-module optimization

Andrii Vasyliev andrii.vasyliev at gmail.com
Sat Sep 5 08:49:15 PDT 2009

>> May be is there some workaround? Like joining all the modules in one
>> and then optimize it. Unfortunately I couldn't find a way to join modules.
> llvm-link does this.

Thanks for answer, Duncan!
But I want to do it in my program and then run it with ExecutionEngine...

Hey, but I took a look inside of llvm-link and found a Linker class
which does modules linking! :)

So, is this the right answer? To optimize modules altogether link them before?


More information about the llvm-dev mailing list