[llvm-dev] Weak symbol/alias semantics

Rafael Avila de Espindola via llvm-dev llvm-dev at lists.llvm.org
Tue Jan 17 19:31:45 PST 2017


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?

Cheers,
Rafael


More information about the llvm-dev mailing list