Pass -dll to link.exe when building with -shared (PR22697)
authorHans Wennborg <hans@hanshq.net>
Wed, 4 Mar 2015 23:16:21 +0000 (23:16 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 4 Mar 2015 23:16:21 +0000 (23:16 +0000)
commite4c47f2e8b5a43f58e690b3312fb71c42c620c33
tree28b585b9218b8f5d3f1bb35816fb76d0f8eb4c0a
parentb844b1a0ffc29ae18aa6dc36c060366ad91e7955
Pass -dll to link.exe when building with -shared (PR22697)

And start building a test for non-clang-cl link.exe invocations.

llvm-svn: 231312
clang/lib/Driver/Tools.cpp
clang/test/Driver/msvc-link.c [new file with mode: 0644]