[llvm-dev] Weak symbol/alias semantics

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


Mehdi Amini via llvm-dev <llvm-dev at lists.llvm.org> writes:

> Hi,
>
> I believe we should get it right (and simpler) if (when…) we move to the representation we discussed last spring: https://llvm.org/bugs/show_bug.cgi?id=27866 <https://llvm.org/bugs/show_bug.cgi?id=27866>
>
> Our conclusion was that we should always have alias pointing to private anonymous and nothing else, so when we currently have:
>
> @a = global i32 0
> @b = alias @a
>
> It should always become:
>
> @0 = private i32 0
> @a = alias @0
> @b = alias @0

Yes, that would be awesome :-)

Cheers,
Rafael


More information about the llvm-dev mailing list