summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2018-07-17 15:07:40 +0000
committerNico Weber <nicolasweber@gmx.de>2018-07-17 15:07:40 +0000
commitdf9c9ad687d0d22bd02dea42193371b639c7565f (patch)
tree2aec0ee9320eb9a2c581b462d77f133d6b7a0b9f /llvm/test
parente5597ad9f3132bf9f4d9baddb513d5c704f28c2c (diff)
downloadbcm5719-llvm-df9c9ad687d0d22bd02dea42193371b639c7565f.tar.gz
bcm5719-llvm-df9c9ad687d0d22bd02dea42193371b639c7565f.zip
clang-cl: Postpone Wmsvc-not-found emission until link.exe gets used.
Wmsvc-not-found was added in r297851 to help diagnose why link.exe can't be executed. However, it's emitted even when using -fuse-ld=lld, and in cross builds there's no way to get rid of the warning other than disabling it. Instead, emit it when we look up link.exe and it ends up not being executable. That way, when passing -fuse-ld=lld it will never be printed. It will also not be printed if we find link.exe on PATH. (We might want to eventually default to lld one day, at least when running on a non-Win host, but that's for another day.) Fixes PR38016. llvm-svn: 337290
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud