[LLVMdev] shared bitcode modules / dynamic linking.

Paweł Sikora pawel.sikora at agmk.net
Sat Feb 11 05:29:10 PST 2012


afaics in manuals the llvm-{link,ld} tools only can merge bitcode files
into one bigger piece which looks like a static-linking from the c/c++ world.
i'm wondering is it any possibility to link bitcode elements dynamically
in the same way as e.g. c#/msil assemblies? static linking into one executable
looks horrible - any change in library used in project forces relinking of everything.

i've found a thread[*] in archive but it only describes a new linker tool
without virtual machine support for loading bitcodes in runtime.

so, is there any plans to develop so called dynamic bitcode linking
or there's another solution for this problem?

[*] http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-December/046055.html


More information about the llvm-dev mailing list