summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/macho-embedded-predefines.c
Commit message (Collapse)AuthorAgeFilesLines
* ARM: Correctly identify cortex-m4 as v7em.Jim Grosbach2014-06-261-4/+19
| | | | | | | | | | | 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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211792 91177308-0d34-0410-b5e6-96231b3b80d8
* MachO: use *-*-*-macho for MachO embedded targets.Tim Northover2014-01-161-0/+5
Previously we had bodged together some hacks mapping MachO embedded targets (i.e. mainly ARM v6M and v7M) to the "*-*-darwin-eabi" triple. This is incorrect in both details (they don't run Darwin and they're not EABI in any real sense). This commit appropriates the existing "MachO" environment for the purpose instead. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199367 91177308-0d34-0410-b5e6-96231b3b80d8