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

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 28 12:19:51 PDT 2016


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?

Also even if we wouldn't want to relax this in general, for ThinLTO we can always clone the function into an available_externally that would replace the alias.


https://reviews.llvm.org/D26076





More information about the llvm-commits mailing list