aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2019-03-14 18:21:32 +0000
committerRui Ueyama <ruiu@google.com>2019-03-14 18:21:32 +0000
commitcc8e4e839f6e33df06fc9c98ce114c53bf811db9 (patch)
tree5481a04086e6c88782f23dea6a49413843081a14 /llvm/unittests/Support/CommandLineTest.cpp
parent0f56b22614c824bb09acebd96381b2bdb1b45a70 (diff)
downloadllvm-cc8e4e839f6e33df06fc9c98ce114c53bf811db9.zip
llvm-cc8e4e839f6e33df06fc9c98ce114c53bf811db9.tar.gz
llvm-cc8e4e839f6e33df06fc9c98ce114c53bf811db9.tar.bz2
Make a hack for LTO work only when you are actually doing LTO.
We allow an archive file without symbol table as a linker input as a workaround for a very common error in LTO build. But that logic worked even for an archive file containing non-bitcode files, which is not expected. This patch limits that workaround to one that contains only bitcode files. Differential Revision: https://reviews.llvm.org/D59373 llvm-svn: 356186
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions