"llvm/test/lit.cfg.py" did not exist on "525b09d347a9193226b6adcd4cd58998f60c3690"
[lld][ELF] Fix lazy ThinLTO index writing in thin archives
Currently when the --thinlto-emit-index-files is used with LLD and a thin archive is passed containing references to object files to link against where the object files are in a different folder than the thin archive and some of the archives aren't linked against (ie stay lazy), the empty index file writer ends up trying to write to a path that doesn't exist. This patch changes the behavior of that function to use the path of the obj member of the BitcodeFile object rather than just the path of the BitcodeFile object itself, which matches the behavior of the default (non-lazy) case. Fixes #57963 Regression test added. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D135014
Loading
Please sign in to comment