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. llvm-svn: 199367
6 lines
172 B
C
6 lines
172 B
C
// RUN: %clang_cc1 -E -dM -triple thumbv7m-apple-unknown-macho %s | FileCheck %s
|
|
|
|
// CHECK: #define __APPLE_CC__
|
|
// CHECK: #define __APPLE__
|
|
// CHECK-NOT: #define __MACH__
|