Use %clang_cc1 so that the test works even if the target isn't available.
authorJordan Rose <jordan_rose@apple.com>
Thu, 27 Sep 2012 01:40:12 +0000 (01:40 +0000)
committerJordan Rose <jordan_rose@apple.com>
Thu, 27 Sep 2012 01:40:12 +0000 (01:40 +0000)
commit8ba0fba28afcfd9797175281e0fbcb9b2e25dd05
treece5c052901d8aa42dc3fd2645c36c569f80725a2
parent1f51e60b743fe3abadc79b280937554f90a1aadc
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
clang/test/Headers/unwind.c