On Fri, Nov 17, 2017 at 09:54:48AM +0000, Ard Biesheuvel wrote: > OK, so all IR objects are converted into a single .o file > encapsulating the module image. Does this give the same benefits as > LTO linking IR objects to a fully linked executable? Yes, it does. > Even if it does, partial linking is not something the toolchain > people are usually crazy about, so it would be nice to have some > confirmation that this is a usage model that is fully supported. I confirmed with our LLVM developers that while this is less common, it's fully supported. I will also drop this patch in v3 as passing code model to LLVMgold fixes the issue with LTO. Sami -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html