]> granicus.if.org Git - clang/commit
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)
commitca4cf144597b8c5d89bb919de84686f1a06071de
tree3c48ab0cf5f396f3785536844e30a27c4c9b5ed8
parente12937859f69f56f7674fcdf8075cb34f87eca07
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).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@280169 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChain.cpp
test/Driver/arm-compiler-rt.c
test/Driver/windows-cross.c