[llvm] [libLTO] add thinlto caching flags to libLTO (PR #168567)
Steven Wu via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 18 11:03:30 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());
----------------
cachemeifyoucan wrote:
Is `getValue()` necessary here?
https://github.com/llvm/llvm-project/pull/168567
More information about the llvm-commits
mailing list