Adding profile and version parsers to ARMTargetParser
authorRenato Golin <renato.golin@linaro.org>
Fri, 22 May 2015 18:17:55 +0000 (18:17 +0000)
committerRenato Golin <renato.golin@linaro.org>
Fri, 22 May 2015 18:17:55 +0000 (18:17 +0000)
commit84b1a805bbccf75da3dab605d291e92e1cba5acc
treeb849cc68689f0f69c649ad271b73ab2deedbe177
parent57cc146595222b8db7ae73df9ccebd1d7c149132
Adding profile and version parsers to ARMTargetParser

This allows us to match armv6m to default to thumb, but will also be used by
Clang's driver and remove the current incomplete copy in it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238036 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/TargetParser.h
lib/Support/TargetParser.cpp
lib/Support/Triple.cpp
unittests/ADT/TripleTest.cpp