diff options
| author | Jordan Rose <jordan_rose@apple.com> | 2012-09-27 01:40:12 +0000 |
|---|---|---|
| committer | Jordan Rose <jordan_rose@apple.com> | 2012-09-27 01:40:12 +0000 |
| commit | 8ba0fba28afcfd9797175281e0fbcb9b2e25dd05 (patch) | |
| tree | ce5c052901d8aa42dc3fd2645c36c569f80725a2 | |
| parent | 1f51e60b743fe3abadc79b280937554f90a1aadc (diff) | |
| download | bcm5719-llvm-8ba0fba28afcfd9797175281e0fbcb9b2e25dd05.tar.gz bcm5719-llvm-8ba0fba28afcfd9797175281e0fbcb9b2e25dd05.zip | |
Use %clang_cc1 so that the test works even if the target isn't available.
Xcode-style clang builds only support Xcode's architectures, so mips
isn't available and the driver tries to use gcc instead. cc1 will go
ahead and do -fsyntax-only for any platform it knows about even if it
can't actually compile.
llvm-svn: 164742
| -rw-r--r-- | clang/test/Headers/unwind.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/clang/test/Headers/unwind.c b/clang/test/Headers/unwind.c index 3331ac46207..68100a8f855 100644 --- a/clang/test/Headers/unwind.c +++ b/clang/test/Headers/unwind.c @@ -1,19 +1,19 @@ -// RUN: %clang -target arm-unknown-linux-gnueabi \ +// RUN: %clang_cc1 -triple arm-unknown-linux-gnueabi \ // RUN: -isystem %S/Inputs/include -ffreestanding -fsyntax-only %s -// RUN: %clang -target mips-unknown-linux \ +// RUN: %clang_cc1 -triple mips-unknown-linux \ // RUN: -isystem %S/Inputs/include -ffreestanding -fsyntax-only %s -// RUN: %clang -target i686-unknown-linux \ +// RUN: %clang_cc1 -triple i686-unknown-linux \ // RUN: -isystem %S/Inputs/include -ffreestanding -fsyntax-only %s -// RUN: %clang -target x86_64-unknown-linux \ +// RUN: %clang_cc1 -triple x86_64-unknown-linux \ // RUN: -isystem %S/Inputs/include -ffreestanding -fsyntax-only %s -// RUN: %clang -target arm-unknown-linux-gnueabi \ +// RUN: %clang_cc1 -triple arm-unknown-linux-gnueabi \ // RUN: -isystem %S/Inputs/include -ffreestanding -fsyntax-only -x c++ %s -// RUN: %clang -target mips-unknown-linux \ +// RUN: %clang_cc1 -triple mips-unknown-linux \ // RUN: -isystem %S/Inputs/include -ffreestanding -fsyntax-only -x c++ %s -// RUN: %clang -target i686-unknown-linux \ +// RUN: %clang_cc1 -triple i686-unknown-linux \ // RUN: -isystem %S/Inputs/include -ffreestanding -fsyntax-only -x c++ %s -// RUN: %clang -target x86_64-unknown-linux \ +// RUN: %clang_cc1 -triple x86_64-unknown-linux \ // RUN: -isystem %S/Inputs/include -ffreestanding -fsyntax-only -x c++ %s #include "unwind.h" |

