diff options
author | Martin Storsjo <martin@martin.st> | 2019-04-19 19:04:22 +0000 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2019-04-19 19:04:22 +0000 |
commit | 93f7d83b36f0e6c1bf8ea85d6beb8a962b7a1507 (patch) | |
tree | d64eed190c1a88265d8f5057acc3efd12e7c5627 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | f7f03622eca68d11f3d2407ab497dbe83c13db63 (diff) | |
download | bcm5719-llvm-93f7d83b36f0e6c1bf8ea85d6beb8a962b7a1507.tar.gz bcm5719-llvm-93f7d83b36f0e6c1bf8ea85d6beb8a962b7a1507.zip |
[MSVC] If unable to find link.exe from a MSVC installation, look for link.exe next to cl.exe
Previously, if the MSVC installation isn't detected properly, clang
will later just fail to execute link.exe.
This improves using clang in msvc mode on linux, where one intentionally
might not want to point clang to the MSVC installation itself (which
isn't executable as such), but where a link.exe named wine wrapper is
available in the path next to a cl.exe named wine wrapper.
Differential Revision: https://reviews.llvm.org/D60094
llvm-svn: 358778
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions