tejohnson added a comment.

Note that this will have the side effect of enabling linkonce/weak resolution 
and internalization for the distributed backends.

I had just sent a separate patch (https://reviews.llvm.org/D22356) to do the 
former, which includes a fix for a subtle linking issue in the distributed 
backend case. I was planning to follow that up with another patch to add the 
internalization, after first removing the forced linkonce linking. However, I 
like having the weak resolution and internalization outside of the 
FunctionImporter pass, as is done here. So I think the best thing is to change 
my https://reviews.llvm.org/D22356 to not add weak resolution to the pass, but 
just have it address the linker issue requiring the new PreserveNonPrevailing 
flag and the test case. It should probably go in immediately after this one (or 
my distributed backend testing will start getting failures).


https://reviews.llvm.org/D21545



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to