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

George Rimar via llvm-dev llvm-dev at lists.llvm.org
Thu Jan 21 04:57:09 PST 2016


?That works, thanks !

I`ll submit the patch later today (have to prepare test(s)).


Best regards,
George.
________________________________
От: Rui Ueyama <ruiu at google.com>
Отправлено: 20 января 2016 г. 22:43
Кому: George Rimar
Копия: rafael.espindola at gmail.com; llvm-dev at lists.llvm.org
Тема: Re: Bug 26222 - [ELF] wrong functions are called when linking against DSO

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<mailto: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/20160121/1cf08e2c/attachment-0001.html>


More information about the llvm-dev mailing list