[PATCH] D26076: [ThinLTO] Correctly resolve linkonce when importing aliasee

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 28 13:25:11 PDT 2016


On 28 October 2016 at 15:19, Mehdi AMINI <mehdi.amini at apple.com> wrote:
> mehdi_amini added a comment.
>
> CC Rafael to hint here.
>
>> When we have an aliasee that is linkonce, while we can't convert the non-prevailing copies to available_externally
>
> It is not clear to me why? I understand that the verifier won't like now, but why isn't possible in theory?

It sounds pretty reasonable for an alias to be available_externally.
It would also be reasonable for an alias declaration to exist, given
that we have function declarations and variables declarations.

What cannot be represented is an alias *to* available_externally or to
a declaration.

Cheers,
Rafael


More information about the llvm-commits mailing list