[llvm-commits] lib/Linker: initial support of bitcode shared objects

Ivan Krasin krasin at chromium.org
Tue Dec 13 10:33:39 PST 2011


Hi llvm team,

A few days ago, I have submitted a proposal to extend lib/Linker and
(possibly) llvm-ld to be able to link with bitcode "so": special bitcode
stubs for native dynamic libraries to allow linking against them on the
bitcode level, which is important for cases when using llvm gold plugin is
not desirable. See the thread for more details:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-December/046055.html

The attachment contains the first patch for initial support of bitcode
".so" files. It's not complete in terms of features but it's the minimal
viable change to lib/Linker to allow to implement at least basic "dynamic"
linking in llvm-ld or similar tools.

Please, let me know if the approach is valid and which issues should be
addressed before the commit.

thanks,
krasin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111213/078c6a53/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lib_linker_dynsym.patch
Type: text/x-patch
Size: 5586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111213/078c6a53/attachment.bin>


More information about the llvm-commits mailing list