summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2018-05-18 21:59:29 +0000
committerShoaib Meenai <smeenai@fb.com>2018-05-18 21:59:29 +0000
commit364741de301462715f9571fdff6a932eada568f8 (patch)
tree685f01552bb4e87a4547b10b78e96695d39b1b36 /clang/test
parente6ed0323cc513e3f6a05587905853baf1c7897e4 (diff)
downloadbcm5719-llvm-364741de301462715f9571fdff6a932eada568f8.tar.gz
bcm5719-llvm-364741de301462715f9571fdff6a932eada568f8.zip
[test] Fix run line to use correct triple
objc_begin_catch/objc_end_catch are specific to the Itanium ABI, so we should be using an Itanium triple for this test. Additionally, while I'm here, convert the run line to invoke the compiler directly rather than going through the driver. llvm-svn: 332777
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/CodeGenObjC/runtime-abi-match.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenObjC/runtime-abi-match.m b/clang/test/CodeGenObjC/runtime-abi-match.m
index ef391724ece..ac8eea6cd42 100644
--- a/clang/test/CodeGenObjC/runtime-abi-match.m
+++ b/clang/test/CodeGenObjC/runtime-abi-match.m
@@ -1,4 +1,4 @@
-// RUN: %clang -target armv7-windows -fobjc-runtime=ios -O1 -fexceptions -S -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -triple thumbv7--windows-itanium -fobjc-runtime=ios -O1 -fexceptions -fobjc-exceptions -emit-llvm %s -o - | FileCheck %s
// REQUIRES: arm-registered-target
void (*f)(id);
OpenPOWER on IntegriCloud