[lld] [ELF] Fix --lto-obj-path with the ThinLTO cache (PR #211062)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 3 06:03:39 PDT 2026
================
@@ -406,6 +400,12 @@ SmallVector<std::unique_ptr<InputFile>, 0> BitcodeCompiler::compile() {
objBuf = buf[i].second;
bitcodeFilePath = buf[i].first;
}
+ if (!ctx.arg.ltoObjPath.empty()) {
+ if (i == 0)
----------------
anatasluo wrote:
Done in 9694c59679c5
https://github.com/llvm/llvm-project/pull/211062
More information about the llvm-commits
mailing list