[cfe-commits] r82133 - in /cfe/trunk/test/CodeGenObjC: objc2-assign-global.m objc2-write-barrier.m

Daniel Dunbar daniel at zuster.org
Thu Sep 17 00:21:40 PDT 2009


Author: ddunbar
Date: Thu Sep 17 02:21:40 2009
New Revision: 82133

URL: http://llvm.org/viewvc/llvm-project?rev=82133&view=rev
Log:
Force triple for tests using __strong.

Modified:
    cfe/trunk/test/CodeGenObjC/objc2-assign-global.m
    cfe/trunk/test/CodeGenObjC/objc2-write-barrier.m

Modified: cfe/trunk/test/CodeGenObjC/objc2-assign-global.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/objc2-assign-global.m?rev=82133&r1=82132&r2=82133&view=diff

==============================================================================
--- cfe/trunk/test/CodeGenObjC/objc2-assign-global.m (original)
+++ cfe/trunk/test/CodeGenObjC/objc2-assign-global.m Thu Sep 17 02:21:40 2009
@@ -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 @@
   g0.a[0] = 0;
   ((T*) &g0)->a[0] = 0;
 }
-

Modified: cfe/trunk/test/CodeGenObjC/objc2-write-barrier.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/objc2-write-barrier.m?rev=82133&r1=82132&r2=82133&view=diff

==============================================================================
--- cfe/trunk/test/CodeGenObjC/objc2-write-barrier.m (original)
+++ cfe/trunk/test/CodeGenObjC/objc2-write-barrier.m Thu Sep 17 02:21:40 2009
@@ -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 @@
   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;
 }
 





More information about the cfe-commits mailing list