diff options
author | Tim Northover <tnorthover@apple.com> | 2015-10-30 16:30:27 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2015-10-30 16:30:27 +0000 |
commit | 6f3ff22e739441cfdcd8ad1de92dba6f48fa3da7 (patch) | |
tree | 0b7bc93334735a6aefa0f859b9f12af7fa19f291 /clang/test/Preprocessor/arm-target-features.c | |
parent | 996345775e0d09221c6e8dc6a01fac1e8ccb9916 (diff) | |
download | bcm5719-llvm-6f3ff22e739441cfdcd8ad1de92dba6f48fa3da7.tar.gz bcm5719-llvm-6f3ff22e739441cfdcd8ad1de92dba6f48fa3da7.zip |
Support watchOS and tvOS driver options
This patch should add support for almost all command-line options and
driver tinkering necessary to produce a correct "clang -cc1"
invocation for watchOS and tvOS.
llvm-svn: 251706
Diffstat (limited to 'clang/test/Preprocessor/arm-target-features.c')
-rw-r--r-- | clang/test/Preprocessor/arm-target-features.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/test/Preprocessor/arm-target-features.c b/clang/test/Preprocessor/arm-target-features.c index 1f2f103eed5..640cf9e65c9 100644 --- a/clang/test/Preprocessor/arm-target-features.c +++ b/clang/test/Preprocessor/arm-target-features.c @@ -210,10 +210,9 @@ // A5:#define __ARM_FP 0xE // Test whether predefines are as expected when targeting cortex-a7. -// RUN: %clang -target armv7 -mcpu=cortex-a7 -x c -E -dM %s -o - | FileCheck --check-prefix=A7 %s -// RUN: %clang -target armv7 -mthumb -mcpu=cortex-a7 -x c -E -dM %s -o - | FileCheck --check-prefix=A7 %s +// RUN: %clang -target armv7k -mcpu=cortex-a7 -x c -E -dM %s -o - | FileCheck --check-prefix=A7 %s +// RUN: %clang -target armv7k -mthumb -mcpu=cortex-a7 -x c -E -dM %s -o - | FileCheck --check-prefix=A7 %s // A7:#define __ARM_ARCH 7 -// A7:#define __ARM_ARCH_7A__ 1 // A7:#define __ARM_ARCH_EXT_IDIV__ 1 // A7:#define __ARM_ARCH_PROFILE 'A' // A7:#define __ARM_FEATURE_DSP |