D19096 has drifted too much, I'm trying to isolate smaller pieces.
Hopefully this one make sense in isolation.
This help to streamline the process of handling importing since
we don't need to special case alias everywhere: just like
linkonce_odr we are sure we will emit one copy.
Since this is a variant of similar handling that used to be here for the aliasee in D19096 (since removed), I will copy over a variant of my suggestion from back then:
I think it would be helpful to add a comment here about how this works. I.e. something like "If a non-imported alias that remains linkonce is referenced by an imported function, the IRMover will create a corresponding ExternalLinkage declaration, which will be satisfied at link time with the copy that was resolved to WeakODR."