]> granicus.if.org Git - clang/commit
Driver: use the triple to query the arch, not the toolchain
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 22 Dec 2016 03:09:04 +0000 (03:09 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 22 Dec 2016 03:09:04 +0000 (03:09 +0000)
commitd4a1e63f1a8953f21513eb3fe800661113e58fb6
treea1364f9c3c1de873ea6c30a00e0aff1fd71eb1cf
parenta1ab1a80a5aacc3e224d4785cee85eab47078184
Driver: use the triple to query the arch, not the toolchain

Although the result is the same, the intent is much more clear this way:
we care about the architecture we are targeting.  NFC.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290305 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp