]> granicus.if.org Git - clang/commitdiff
Force triple for tests using __strong.
authorDaniel Dunbar <daniel@zuster.org>
Thu, 17 Sep 2009 07:21:40 +0000 (07:21 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 17 Sep 2009 07:21:40 +0000 (07:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82133 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenObjC/objc2-assign-global.m
test/CodeGenObjC/objc2-write-barrier.m

index 426b99fde1528b84aec97e243b379cadd8c5f625..2d863817e8e9e20027de29058945883daf9f81a5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fnext-runtime -fobjc-gc -fobjc-newgc-api -emit-llvm -o %t %s &&
+// RUN: clang-cc -triple x86_64-apple-darwin10 -fnext-runtime -fobjc-gc -fobjc-newgc-api -emit-llvm -o %t %s &&
 // RUN: grep -F '@objc_assign_global' %t  | count 26 &&
 // RUN: true
 
@@ -79,4 +79,3 @@ int main() {
   g0.a[0] = 0;
   ((T*) &g0)->a[0] = 0;
 }
-
index 60835dc4fe69de3ff2a0d31a854737f7e02b5549..3e0971640c8bbc4b85b85c3dba57009e013e3f4d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fnext-runtime -fobjc-gc -fobjc-newgc-api -emit-llvm -o %t %s &&
+// RUN: clang-cc -triple x86_64-apple-darwin10 -fnext-runtime -fobjc-gc -fobjc-newgc-api -emit-llvm -o %t %s &&
 // RUN: grep -F '@objc_assign_global' %t  | count 21 &&
 // RUN: grep -F '@objc_assign_ivar' %t  | count 11 &&
 // RUN: true
@@ -90,7 +90,7 @@ int testGlobals() {
   ASSIGNTEST(staticGlobalStruct.elementArray[0], GlobalAssigns);       // objc_assign_global
   ASSIGNTEST(staticGlobalStruct.cfElement, GlobalAssigns);             // objc_assign_global
   ASSIGNTEST(staticGlobalStruct.cfElementArray[0], GlobalAssigns);     // objc_assign_global
-    
+
   return counter;
 }