[llvm] r227228 - [ExecutionEngine] Add weak symbol support to RuntimeDyld
Lang Hames
lhames at gmail.com
Fri Feb 20 17:17:00 PST 2015
Hi Keno,
I've had a chance to look at this at long last. It turns out AbortOnFailure
is innocent (if ugly), the problem is actually in getSymbolAddress. With
this patch it doesn't return an address for weak symbols, so RuntimeDyld
clients can't see weak symbols. We probably shouldn't just expose them
either though: There would be no way for a client to tell the difference
between a weak symbol and a strong one.
I think we actually need to add a weak/strong flag to the symbol table,
along the same lines as the visibility flag. I've filed
http://llvm.org/PR22653 to track this.
Is this issue actively causing problems for you? I expect I'll want to deal
with it soonish either way, but if it's an active headache for you I'll try
to make it sooner rather than later.
Cheers,
Lang.
On Wed, Feb 4, 2015 at 2:14 PM, Lang Hames <lhames at gmail.com> wrote:
> Hi Keno,
>
> Sorry I haven't gotten to this yet. I haven't forgotten about it - I'm
> planning to get it fixed up tomorrow or Friday.
>
> Cheers,
> Lang.
>
>
> On Tue, Jan 27, 2015 at 5:48 PM, Keno Fischer <
> kfischer at college.harvard.edu> wrote:
>
>> No problem.
>>
>> On Tue, Jan 27, 2015 at 8:33 PM, Lang Hames <lhames at gmail.com> wrote:
>>
>>> Hi Keno,
>>>
>>> Sorry - I had to revert in r227287. Hopefully I'll have a solution soon.
>>>
>>> - Lang.
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150220/6a2640f2/attachment.html>
More information about the llvm-commits
mailing list