]> granicus.if.org Git - clang/commitdiff
[test] Fix run line to use correct triple
authorShoaib Meenai <smeenai@fb.com>
Fri, 18 May 2018 21:59:29 +0000 (21:59 +0000)
committerShoaib Meenai <smeenai@fb.com>
Fri, 18 May 2018 21:59:29 +0000 (21:59 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@332777 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenObjC/runtime-abi-match.m

index ef391724ece0cd1fb4fa6b74372879d0ae70eab3..ac8eea6cd421828c4439423a52cda1e91bd8c5d0 100644 (file)
@@ -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);