[LLVMdev] [lld] Implementing the aliasing feature

Shankar Easwaran shankare at codeaurora.org
Mon Sep 16 12:33:41 PDT 2013


Spoke too early. ELF still needs a special reference to implement 
__wrap. The wrapped function in the case of ELF always points to an atom 
whose size > 0 and is not a weak atom.

I was thinking of calling it a reference *Override* ?

Thanks

Shankar Easwaran

On 9/15/2013 9:23 PM, Shankar Easwaran wrote:
> On 9/13/2013 8:51 PM, Nick Kledzik wrote:
>>> If I alias the atom, and add a layoutBefore from fna to fnb, fnb is 
>>> going to have a seperate virtualaddress from fna.
>> This sounds like you mean “alias” to mean take one implementation and 
>> override another implementation (that has a different name)
> Yes. I think ELF could treat it as a Layout-Before reference too. This 
> way Darwin can share the same functionality.
>
> Thanks for the explanations, Nick.
>
> Shankar Easwaran
>
> -- 
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
> hosted by the Linux Foundation
>


-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation




More information about the llvm-dev mailing list