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

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 4 08:36:19 PST 2025


================
@@ -2417,6 +2456,9 @@ class OutOfProcessThinBackend : public CGThinBackend {
         for (const auto &J : Jobs) {
           assert(J.Task != 0);
 
+          if (!Cache.getCacheDirectoryPath().empty() && J.Cached)
----------------
teresajohnson wrote:

Optionally add an assert that !Cache.getCacheDirectoryPath().empty().

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


More information about the llvm-commits mailing list