aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2020-06-09 23:08:04 -0700
committerFangrui Song <maskray@google.com>2020-06-09 23:10:30 -0700
commitb114e134bdc89fc43aef2ab2d7ff19aca89e5b36 (patch)
treed03f6b217fb037d8edf25a6a19fa91721217c9cd /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent4be1c116ad8602d96d6d212a661425fbf05eb58f (diff)
downloadllvm-b114e134bdc89fc43aef2ab2d7ff19aca89e5b36.zip
llvm-b114e134bdc89fc43aef2ab2d7ff19aca89e5b36.tar.gz
llvm-b114e134bdc89fc43aef2ab2d7ff19aca89e5b36.tar.bz2
[ELF] Fix --thinlto-index-only regression after D79300
After D79300, we don't rewrite InputFile::mb to an empty buffer. In thinLTOCreateEmptyIndexFiles(), we should check LazyObjFile::fetched as well as checking whether mb is a bitcode, otherwise we would overwrite (path + .thinlto.bc) with an empty index.
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions