[llvm-dev] Bug 26222 - [ELF] wrong functions are called when linking against DSO

Rui Ueyama via llvm-dev llvm-dev at lists.llvm.org
Wed Jan 20 11:43:12 PST 2016


I think it is because the main executable do not export symbols that exist
both in the main executable and in DSOs. If a symbol in an object file
overrides a symbol in an DSO, we want to call setUsedInDynamicReloc() on
that symbol so that the symbol is exported.

On Wed, Jan 20, 2016 at 9:35 AM, George Rimar <grimar at accesssoftek.com>
wrote:

> ​Hi,
>
>
> I found a new issue in lld (https://llvm.org/bugs/show_bug.cgi?id=26222),
>
> but after review of outputs internals still have no idea why that can
> happen. Do you have any thoughts about possible reasons of that ?
>
> I am going to continue investigating that tomorrow.
>
>
> Best regards,
> George.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160120/42b58325/attachment.html>


More information about the llvm-dev mailing list