[llvm] [DTLTO] [LLVM] Initial DTLTO cache implementation (PR #156433)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 17 09:34:28 PDT 2025


================
@@ -2304,13 +2313,14 @@ class OutOfProcessThinBackend : public CGThinBackend {
                                        itostr(Task) + "." + UID + ".native.o");
 
     Job &J = Jobs[Task - ThinLTOTaskOffset];
-    J = {
-        Task,
-        ModulePath,
-        Saver.save(ObjFilePath.str()),
-        Saver.save(ObjFilePath.str() + ".thinlto.bc"),
-        {} // Filled in by emitFiles below.
-    };
+    J = {Task,
+         ModulePath,
+         Saver.save(ObjFilePath.str()),
+         Saver.save(ObjFilePath.str() + ".thinlto.bc"),
+         {}, // Filled in by emitFiles below.
+         "",
----------------
teresajohnson wrote:

Document constant values with comment e.g. `/*CacheKey=*/`

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


More information about the llvm-commits mailing list