clang-cl: Support building DLLs (PR17083)
authorHans Wennborg <hans@hanshq.net>
Tue, 10 Sep 2013 20:18:04 +0000 (20:18 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 10 Sep 2013 20:18:04 +0000 (20:18 +0000)
commitf1a7425bd95ecb233d7333a2e1b0d63dde5e803d
treed3dd8bdc0e73d8abc43fdec4573c6c4c6b9660f1
parentd8110b6558ad111a1c1c1542c12122900791311e
clang-cl: Support building DLLs (PR17083)

This adds driver support for building DLLs (the /LD and /LDd flags).
It basically does two things: runtime selection and passing -dll and
-implib to the linker.

llvm-svn: 190428
clang/include/clang/Driver/CLCompatOptions.td
clang/lib/Driver/Driver.cpp
clang/lib/Driver/Tools.cpp
clang/test/Driver/cl-link.c
clang/test/Driver/cl-outputs.c
clang/test/Driver/cl-runtime-flags.c