diff options
author | Evan Cheng <evan.cheng@apple.com> | 2014-01-26 23:12:43 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2014-01-26 23:12:43 +0000 |
commit | fe67d5ee3ebb79dc4d75b7e4d02612c7c51f4c83 (patch) | |
tree | 33053975ed12581e0da4329f8cac9f0621a17075 /test/Frontend/darwin-eabi.c | |
parent | 51a64a88041dd8c5fe7d343817b193084f65ae48 (diff) |
Fix r195149. Triple should correctly reflect that target. If it contains ios,
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200164 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Frontend/darwin-eabi.c')
-rw-r--r-- | test/Frontend/darwin-eabi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Frontend/darwin-eabi.c b/test/Frontend/darwin-eabi.c index b4b82aa842..27471e6cfb 100644 --- a/test/Frontend/darwin-eabi.c +++ b/test/Frontend/darwin-eabi.c @@ -1,7 +1,7 @@ // 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 -arch armv7 -target thumbv7-apple-darwin-eabi -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__ |