[PATCH] D21545: CodeGen: Replace ThinLTO backend implementation with a client of LTO/Resolution.

Teresa Johnson via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 14 08:34:25 PDT 2016

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).


More information about the cfe-commits mailing list