From: Shoaib Meenai Date: Fri, 18 May 2018 21:59:29 +0000 (+0000) Subject: [test] Fix run line to use correct triple X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6588d85cab7883d4f8e73015e1de6a8531fca433;p=clang [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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@332777 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenObjC/runtime-abi-match.m b/test/CodeGenObjC/runtime-abi-match.m index ef391724ec..ac8eea6cd4 100644 --- a/test/CodeGenObjC/runtime-abi-match.m +++ b/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);