]> granicus.if.org Git - clang/commit
Teach clang about the armv4/armv4t distinction
authorTim Northover <tnorthover@apple.com>
Thu, 13 Jun 2013 15:02:46 +0000 (15:02 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 13 Jun 2013 15:02:46 +0000 (15:02 +0000)
commit4889a1fe91b0fd590e7beff16017086336064e6c
tree0c43dd00e8ff0040c543963d6a3195400b8ed7b5
parent0b214905f7fff7fa21ecc54a17b97372ba0c9a07
Teach clang about the armv4/armv4t distinction

When choosing a default CPU, clang used to pick ARM7TDMI (which has Thumb) even
when the more restrictive armv4 triple was specified. This should fix that.

Patch by Jeroen Hofstee.

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