Driver: honour the clang-cl behaviour on ARM as well
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 2 Jan 2015 21:47:33 +0000 (21:47 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 2 Jan 2015 21:47:33 +0000 (21:47 +0000)
commit61770ab26f4b11bf1c3c185bb4fe24e82397baf3
tree693b7380cae55b03704ea75e85f514bdcf7ddb45
parentc426c337ed8ceee256a7ce29de400bb4c44e2dcf
Driver: honour the clang-cl behaviour on ARM as well

Unfortunately, MSVC does not indicate to the driver what target is being used.
This means that we cannot correctly select the target architecture for the
clang_rt component.  This breaks down when targeting windows with the clang
driver as opposed to the clang-cl driver.  This should fix the native ARM
buildbot tests.

llvm-svn: 225089
clang/lib/Driver/Tools.cpp