[lld] [llvm] [lld] Add caching for `--lto-partitions` (PR #212203)

Pierre van Houtryve via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 01:10:57 PDT 2026


================
@@ -547,12 +602,12 @@ static void splitCodeGen(const Config &C, TargetMachine *TM,
               std::unique_ptr<TargetMachine> TM =
                   createTargetMachine(C, T, *MPartInCtx);
 
-              codegen(C, TM.get(), AddStream, ThreadId, *MPartInCtx,
+              codegen(C, TM.get(), PartitionAddStream, ThreadId, *MPartInCtx,
                       CombinedIndex);
----------------
Pierre-vh wrote:

I am not sure honestly. @teresajohnson, is it something you can help with ? Does the `ModuleSummaryIndex` matter here?

https://github.com/llvm/llvm-project/pull/212203


More information about the llvm-commits mailing list