[llvm-commits] [llvm-gcc-4.2] r46269 - in /llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg: const-cfstring-4-64bit.mm const-cfstring-4.mm const-str-10.mm const-str-11.mm const-str-9.mm objc-gc-section-1.mm objc-gc-section-2.mm objc2-protocol-ext-1.mm
Dale Johannesen
dalej at apple.com
Tue Jan 22 17:40:20 PST 2008
Author: johannes
Date: Tue Jan 22 19:40:15 2008
New Revision: 46269
URL: http://llvm.org/viewvc/llvm-project?rev=46269&view=rev
Log:
Enhance some more tests to take functionally
equivalent llvm syntax.
Modified:
llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/const-cfstring-4-64bit.mm
llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/const-cfstring-4.mm
llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/const-str-10.mm
llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/const-str-11.mm
llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/const-str-9.mm
llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/objc-gc-section-1.mm
llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/objc-gc-section-2.mm
llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/objc2-protocol-ext-1.mm
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/const-cfstring-4-64bit.mm
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/obj-c%2B%2B.dg/const-cfstring-4-64bit.mm?rev=46269&r1=46268&r2=46269&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/const-cfstring-4-64bit.mm (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/const-cfstring-4-64bit.mm Tue Jan 22 19:40:15 2008
@@ -8,4 +8,5 @@
CFStringRef appKey = (CFStringRef) @"com.apple.soundpref";
/* { dg-final { scan-assembler ".section __DATA, __cfstring" } } */
-/* { dg-final { scan-assembler ".quad\t___CFConstantStringClassReference\n\t.long\t1992\n\t.space 4\n\t.quad\t.*\n\t.quad\t19\n\t.data" } } */
+/* LLVM LOCAL accept llvm syntax */
+/* { dg-final { scan-assembler ".quad\t___CFConstantStringClassReference\n\t.long\t1992\n\t.space( |\t)4\n\t.quad\t.*\n\t.quad\t19\n" } } */
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/const-cfstring-4.mm
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/obj-c%2B%2B.dg/const-cfstring-4.mm?rev=46269&r1=46268&r2=46269&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/const-cfstring-4.mm (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/const-cfstring-4.mm Tue Jan 22 19:40:15 2008
@@ -10,4 +10,5 @@
CFStringRef appKey = (CFStringRef) @"com.apple.soundpref";
/* { dg-final { scan-assembler ".section __DATA, __cfstring" } } */
-/* { dg-final { scan-assembler ".long\t___CFConstantStringClassReference\n\t.long\t1992\n\t.long\t.*\n\t.long\t19\n\t.data" } } */
+/* LLVM LOCAL accept llvm syntax */
+/* { dg-final { scan-assembler ".long\t___CFConstantStringClassReference\n\t.long\t1992\n\t.long\t.*\n\t.long\t19\n" } } */
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/const-str-10.mm
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/obj-c%2B%2B.dg/const-str-10.mm?rev=46269&r1=46268&r2=46269&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/const-str-10.mm (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/const-str-10.mm Tue Jan 22 19:40:15 2008
@@ -31,4 +31,5 @@
const NSConstantString *appKey = @"MyApp";
/* { dg-final { scan-assembler ".section __OBJC, __cstring_object" } } */
-/* { dg-final { scan-assembler ".long\t__NSConstantStringClassReference\n\t.long\t.*\n\t.long\t5\n\t.data" } } */
+/* LLVM LOCAL accept llvm syntax */
+/* { dg-final { scan-assembler ".long\t__NSConstantStringClassReference\n\t.long\t.*\n\t.long\t5\n" } } */
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/const-str-11.mm
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/obj-c%2B%2B.dg/const-str-11.mm?rev=46269&r1=46268&r2=46269&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/const-str-11.mm (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/const-str-11.mm Tue Jan 22 19:40:15 2008
@@ -30,4 +30,5 @@
const XStr *appKey = @"MyApp";
/* { dg-final { scan-assembler ".section __OBJC, __cstring_object" } } */
-/* { dg-final { scan-assembler ".long\t__XStrClassReference\n\t.long\t.*\n\t.long\t5\n\t.data" } } */
+/* LLVM LOCAL accept llvm syntax */
+/* { dg-final { scan-assembler ".long\t__XStrClassReference\n\t.long\t.*\n\t.long\t5\n" } } */
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/const-str-9.mm
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/obj-c%2B%2B.dg/const-str-9.mm?rev=46269&r1=46268&r2=46269&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/const-str-9.mm (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/const-str-9.mm Tue Jan 22 19:40:15 2008
@@ -23,4 +23,5 @@
const NSConstantString *appKey = @"MyApp";
/* { dg-final { scan-assembler ".section __OBJC, __cstring_object" } } */
-/* { dg-final { scan-assembler ".long\t__NSConstantStringClassReference\n\t.long\t.*\n\t.long\t5\n\t.data" } } */
+/* LLVM LOCAL accept llvm syntax */
+/* { dg-final { scan-assembler ".long\t__NSConstantStringClassReference\n\t.long\t.*\n\t.long\t5\n" } } */
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/objc-gc-section-1.mm
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/obj-c%2B%2B.dg/objc-gc-section-1.mm?rev=46269&r1=46268&r2=46269&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/objc-gc-section-1.mm (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/objc-gc-section-1.mm Tue Jan 22 19:40:15 2008
@@ -10,5 +10,6 @@
@implementation INTF
@end
/* { dg-final { scan-assembler ".section __OBJC, __image_info" } } */
-/* { dg-final { scan-assembler "L_OBJC_IMAGE_INFO:\n\t.space 8" } } */
+/* LLVM LOCAL accept llvm syntax */
+/* { dg-final { scan-assembler "L_OBJC_IMAGE_INFO:.*\n\t.space( |\t)8" } } */
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/objc-gc-section-2.mm
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/obj-c%2B%2B.dg/objc-gc-section-2.mm?rev=46269&r1=46268&r2=46269&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/objc-gc-section-2.mm (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/objc-gc-section-2.mm Tue Jan 22 19:40:15 2008
@@ -9,4 +9,5 @@
@implementation INTF
@end
/* { dg-final { scan-assembler ".section __OBJC, __image_info" } } */
-/* { dg-final { scan-assembler "L_OBJC_IMAGE_INFO:\n\t.long\t0\n\t.long\t6" } } */
+/* LLVM LOCAL accept llvm syntax */
+/* { dg-final { scan-assembler "L_OBJC_IMAGE_INFO:.*\n\t.(long\t0|space\t4)\n\t.long\t6" } } */
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/objc2-protocol-ext-1.mm
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/obj-c%2B%2B.dg/objc2-protocol-ext-1.mm?rev=46269&r1=46268&r2=46269&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/objc2-protocol-ext-1.mm (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/objc2-protocol-ext-1.mm Tue Jan 22 19:40:15 2008
@@ -11,4 +11,5 @@
@interface Super <Proto1, Proto2> { id isa; } @end
@implementation Super @end
-/* { dg-final { scan-assembler ".long\t72\n\t.long\t0" } } */
+/* LLVM LOCAL accept llvm syntax */
+/* { dg-final { scan-assembler ".long\t72\n\t.(long\t0|space\t4)" } } */
More information about the llvm-commits
mailing list