[lld] Reading undefined symbols from dynamic objects

Joerg Sonnenberger joerg at britannica.bec.de
Mon Sep 2 14:36:48 PDT 2013


Hi all,
attached is a first try at cleaning up the symbol reading for ELF DSO
dependencies. Essentially, if a shared library defines a weak symbol,
it should not be entered into the symbol table. Otherwise another local
weak definition in the current object will be changed into undef.
This does not handle the case of a strong symbol in a DSO turning a weak
definition into undefined, but that seems to be a separate issue.

Joerg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lld.diff
Type: text/x-diff
Size: 579 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130902/4edee50f/attachment.diff>


More information about the llvm-commits mailing list