diff options
author | Rui Ueyama <ruiu@google.com> | 2018-03-01 23:11:30 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2018-03-01 23:11:30 +0000 |
commit | cdd5fb5087c91b45626c699e5357ae46b0f7d8a9 (patch) | |
tree | f72236b8f6642bf911aaa6afde7d4999a9cf7138 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 036ed36f0a45d2ae90fb488302a706c35d27ce57 (diff) | |
download | llvm-cdd5fb5087c91b45626c699e5357ae46b0f7d8a9.zip llvm-cdd5fb5087c91b45626c699e5357ae46b0f7d8a9.tar.gz llvm-cdd5fb5087c91b45626c699e5357ae46b0f7d8a9.tar.bz2 |
Report an error if you try to link against .dll instead of .lib.
It is a usage error to feed a .dll file instead of a .dll to COFF linker.
Previously, lld failed with a mysterious error message. Now we reject
it at the driver.
Fixes https://bugs.llvm.org/show_bug.cgi?id=36440
Differential Revision: https://reviews.llvm.org/D43964
llvm-svn: 326507
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions