diff options
| author | Tim Northover <tnorthover@apple.com> | 2013-10-24 10:48:50 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2013-10-24 10:48:50 +0000 |
| commit | 901dee4d28d1993d0bf21d660bccf9039b0ff095 (patch) | |
| tree | 1f39d25b0c160b8f9ea6e221e8ea10308d63206e /clang/test/Frontend | |
| parent | 94ecbd2e6c05316c25349eec88a99f40c83995ce (diff) | |
| download | bcm5719-llvm-901dee4d28d1993d0bf21d660bccf9039b0ff095.tar.gz bcm5719-llvm-901dee4d28d1993d0bf21d660bccf9039b0ff095.zip | |
ARM-Darwin: Use the *-*-darwin-eabi triple for v6m & v7m archs
These arch arguments are used for embedded targets (obviously) which need a
different calling convention to iOS.
llvm-svn: 193328
Diffstat (limited to 'clang/test/Frontend')
| -rw-r--r-- | clang/test/Frontend/darwin-eabi.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Frontend/darwin-eabi.c b/clang/test/Frontend/darwin-eabi.c new file mode 100644 index 00000000000..dc0504bd3c1 --- /dev/null +++ b/clang/test/Frontend/darwin-eabi.c @@ -0,0 +1,6 @@ +// RUN: %clang -target x86_64-apple-darwin -arch armv6m -dM -E %s | FileCheck %s +// RUN: %clang -target x86_64-apple-darwin -arch armv7m -dM -E %s | FileCheck %s +// RUN: %clang -target x86_64-apple-darwin -arch armv7em -dM -E %s | FileCheck %s + +// CHECK-NOT: __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ +// CHECK-NOT: __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ |

