[llvm] [libLTO] add thinlto caching flags to libLTO (PR #168567)

Wael Yehia via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 19 03:52:06 PST 2025


================
@@ -543,6 +567,24 @@ thinlto_code_gen_t thinlto_create_codegen(void) {
     assert(CGOptLevelOrNone);
     CodeGen->setCodeGenOptLevel(*CGOptLevelOrNone);
   }
+  if (!ThinLTOCacheDir.empty()) {
+    auto Err = llvm::sys::fs::create_directories(ThinLTOCacheDir.getValue());
----------------
w2yehia wrote:

no. fixed.

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


More information about the llvm-commits mailing list