diff options
author | Rui Ueyama <ruiu@google.com> | 2017-03-07 19:45:53 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2017-03-07 19:45:53 +0000 |
commit | e0341db179d7ee24405afb6ba500a0cead5c3860 (patch) | |
tree | 0c0cdbc8556d6ba421fe335a89fde040f9024ab9 /lldb/packages/Python/lldbsuite/test/python_api | |
parent | 285208812698ca19e99267b9659af3e8bc5fd682 (diff) | |
download | bcm5719-llvm-e0341db179d7ee24405afb6ba500a0cead5c3860.tar.gz bcm5719-llvm-e0341db179d7ee24405afb6ba500a0cead5c3860.zip |
Do not pass archive files containing bitcode files to the MSVC Linker.
If /msvclto is specified, we compile bitcode files and pass it to the
MSVC linker, stripping all bitcode files. We haven't stripped archive
files, because I was thinking that the MSVC linker wouldn't touch files
in archive files. When we pass an object file to link.exe, all symbols
have been resolved already, so link.exe shoulnd't need any of the files
in archives.
It turns out that even though link.exe doesn't need to do that, it
seems to try to read each file in all archives. And if there's a non-
COFF file in an archive, it exists with an error message. So we need
to remove archives from the command line too.
llvm-svn: 297191
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions