diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-09-17 07:21:40 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-09-17 07:21:40 +0000 |
commit | 501d8a600e1652f427a092c7a82418ab097848ef (patch) | |
tree | 4a2bf4283c37307ca3a8da0e105eb1aa65d123e7 | |
parent | c1f2cddb8cccbcc53ab4311672a53b18eb6dc55f (diff) |
Force triple for tests using __strong.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82133 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGenObjC/objc2-assign-global.m | 3 | ||||
-rw-r--r-- | test/CodeGenObjC/objc2-write-barrier.m | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/test/CodeGenObjC/objc2-assign-global.m b/test/CodeGenObjC/objc2-assign-global.m index 426b99fde1..2d863817e8 100644 --- a/test/CodeGenObjC/objc2-assign-global.m +++ b/test/CodeGenObjC/objc2-assign-global.m @@ -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; } - diff --git a/test/CodeGenObjC/objc2-write-barrier.m b/test/CodeGenObjC/objc2-write-barrier.m index 60835dc4fe..3e0971640c 100644 --- a/test/CodeGenObjC/objc2-write-barrier.m +++ b/test/CodeGenObjC/objc2-write-barrier.m @@ -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; } |