[llvm-dev] Weak symbol/alias semantics
Mehdi Amini via llvm-dev
llvm-dev at lists.llvm.org
Tue Jan 17 21:51:27 PST 2017
> On Jan 17, 2017, at 7:31 PM, Rafael Avila de Espindola <rafael.espindola at gmail.com> wrote:
>
> Mehdi Amini via llvm-dev <llvm-dev at lists.llvm.org> writes:
>>
>> The complication is that a cloneFunction() step would be needed right?
>>
>> Alternatively I can imagine us allowing available_externally alias, I’m not sure why they are forbidden today other than because we map the object-level limitations in the IR, but I can miss something (we don’t have alias on Darwin either…).
>
> We can probably make it work. The meaning is just that we know that in
> another file there is an alias with the given definition.
>
> Darwin has a special case alias for swift functions with a prolog, no?
I know there is something that is used in Swift, I don’t know the details unfortunately.
—
Mehdi
More information about the llvm-dev
mailing list