Driver: use the canonical static library naming
authorSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 30 Aug 2016 22:10:27 +0000 (22:10 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 30 Aug 2016 22:10:27 +0000 (22:10 +0000)
commitd01704b149df0eecd294019485d46699010c4a2f
tree2597f2371c501a2dc34cef7f41da797caae4cb66
parentdbaa61cbe36fb6178382cb1a3eb636ebb516bc1d
Driver: use the canonical static library naming

On Windows, static libraries are named lib<name>.lib while import libraries are
named <name>.lib.  Use the appropriate naming on itanium and msvc environments.
This is setup properly so that if a dynamic builtins is used on Windows, it
would do the right thing, although this is not currently wired through the
driver (i.e. there is no equivalent to -{shared,static}-gcc).

llvm-svn: 280169
clang/lib/Driver/ToolChain.cpp
clang/test/Driver/arm-compiler-rt.c
clang/test/Driver/windows-cross.c