diff options
| author | Fangrui Song <maskray@google.com> | 2019-05-07 10:40:26 +0000 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2019-05-07 10:40:26 +0000 |
| commit | f3994e4dfa0214b2a09a0e327ba37e6b38bbcdb3 (patch) | |
| tree | d121c5f3cc500e4705f0be25144e20a9ba48061b /llvm/lib/Target/ARM | |
| parent | c5ac14eef874dda3b7053c788bda04f46aa034d9 (diff) | |
| download | bcm5719-llvm-f3994e4dfa0214b2a09a0e327ba37e6b38bbcdb3.tar.gz bcm5719-llvm-f3994e4dfa0214b2a09a0e327ba37e6b38bbcdb3.zip | |
[ELF] Reorder BitcodeFiles.empty() to call thinLTOCreateEmptyIndexFiles() in only one place
It makes the --plugin-opt=obj-path= and --plugin-opt=thinlto-index-only=
behavior more consistent - the files will be created in the
BitcodeFiles.empty() case, but I assume whether it behaves this way is
not required by anyone.
LTOObj->run() cannot run with empty BitcodeFiles. There would be an error:
ld.lld: error: No available targets are compatible with triple ""
Differential Revision: https://reviews.llvm.org/D61635
llvm-svn: 360129
Diffstat (limited to 'llvm/lib/Target/ARM')
0 files changed, 0 insertions, 0 deletions

