ARM: Correctly identify cortex-m4 as v7em.
authorJim Grosbach <grosbach@apple.com>
Thu, 26 Jun 2014 17:24:16 +0000 (17:24 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 26 Jun 2014 17:24:16 +0000 (17:24 +0000)
commitbe83cb8c96c2630817283844611bad86e8ef41da
tree9626d8892b59a4dddb16aba2607a0ea4d4a8193c
parent0989d51520b054bdb48916103a8e2c205f8e3baf
ARM: Correctly identify cortex-m4 as v7em.

Get the predefined macro for the architecture correct.
cortex-m4: __ARM_ARCH_7EM__
cortex-m3: __ARM_ARCH_7M__
cortex-m0: __ARM_ARCH_6M__

rdar://17420090

llvm-svn: 211792
clang/lib/Basic/Targets.cpp
clang/test/Preprocessor/macho-embedded-predefines.c