================ @@ -1629,6 +1629,10 @@ PassBuilder::buildFatLTODefaultPipeline(OptimizationLevel Level, bool ThinLTO, MPM.addPass(buildLTOPreLinkDefaultPipeline(Level)); MPM.addPass(EmbedBitcodePass(ThinLTO, EmitSummary)); + // If we're doing FatLTO w/ CFI enabled, we don't want the type tests in the + // object file. + MPM.addPass(LowerTypeTestsPass(nullptr, nullptr, true, true)); ---------------- ilovepi wrote:
And apologies for not adding you on both reviews. I had thought I added you and Nikita to https://github.com/llvm/llvm-project/pull/112787, but it looks like I hadn't. https://github.com/llvm/llvm-project/pull/112788 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits