mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-23 05:25:50 -04:00

e.g. thumbv7m-apple-ios3.0.0-eabi, then it should mean it's an iOS target. For embedded targets, the OS should be unknown, e.g. thumbv7m-apple-unknown-macho. Since Tim has recently fixed the triple, r195149 is no longer needed. rdar://15911035 llvm-svn: 200164
8 lines
363 B
C
8 lines
363 B
C
// RUN: %clang -arch armv6m -dM -E %s | FileCheck %s
|
|
// RUN: %clang -arch armv7m -dM -E %s | FileCheck %s
|
|
// RUN: %clang -arch armv7em -dM -E %s | FileCheck %s
|
|
// RUN: %clang_cc1 -triple thumbv7m-apple-unknown-macho -dM -E %s | FileCheck %s
|
|
|
|
// CHECK-NOT: __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__
|
|
// CHECK-NOT: __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
|