[PATCH] Add -l option to llvm-link and allow linking by resolving symbols

Reid Kleckner rnk at google.com
Fri Apr 25 11:48:11 PDT 2014


On Fri, Apr 25, 2014 at 11:31 AM, Mekhanoshin, Stanislav <
Stanislav.Mekhanoshin at amd.com> wrote:

> That is correct. The assumption is that such static initializers of
> unreferenced symbols do not have side effects. If I remember correctly
> Borland smart linker had the same limitation. Also, if I remember correctly
> LTO with Sun Solaris was also limited by this.
>

I wish this was a reasonable assumption. However, we live in a dark world
of great evil, where programs spawn threads from their dynamic initializers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140425/d889810c/attachment.html>


More information about the llvm-commits mailing list