aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAiden Grossman <agrossmn154@yahoo.com>2022-10-01 06:24:32 +0000
committerAiden Grossman <agrossmn154@yahoo.com>2022-10-05 17:12:15 +0000
commitf741815ddb49e3ed26de327a51ccf60f66f21d46 (patch)
tree33818dc42452ed600631b5e1abeb9dfb1e48e268 /flang/lib/Frontend/CompilerInvocation.cpp
parent68f4ceaf9b4e68c111e3cccc3cc09ea7783fdf0d (diff)
downloadllvm-f741815ddb49e3ed26de327a51ccf60f66f21d46.zip
llvm-f741815ddb49e3ed26de327a51ccf60f66f21d46.tar.gz
llvm-f741815ddb49e3ed26de327a51ccf60f66f21d46.tar.bz2
[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
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions