[llvm-commits] [llvm-gcc-4.2] r110662 - /llvm-gcc-4.2/trunk/gcc/testsuite/g++.dg/abi/key2.C

Bill Wendling isanbard at gmail.com
Tue Aug 10 00:46:23 PDT 2010


Author: void
Date: Tue Aug 10 02:46:23 2010
New Revision: 110662

URL: http://llvm.org/viewvc/llvm-project?rev=110662&view=rev
Log:
Fix spacing, but the strings still do not match.

Modified:
    llvm-gcc-4.2/trunk/gcc/testsuite/g++.dg/abi/key2.C

Modified: llvm-gcc-4.2/trunk/gcc/testsuite/g++.dg/abi/key2.C
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/g%2B%2B.dg/abi/key2.C?rev=110662&r1=110661&r2=110662&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/g++.dg/abi/key2.C (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/g++.dg/abi/key2.C Tue Aug 10 02:46:23 2010
@@ -3,12 +3,13 @@
 
 // { dg-do compile { target *-*-darwin* } }
 // LLVM LOCAL begin rearrange tests to check current syntax
-// { dg-final { scan-assembler "	.section	__DATA,__const_coal,coalesced\\n	.globl	__ZTV1f\\n	.weak_definition __ZTV1f\\n" } }
-// { dg-final { scan-assembler "	.section	__TEXT,__const_coal,coalesced\\n	.globl	__ZTS1f\\n	.weak_definition __ZTS1f\\n" } }
+// { dg-final { scan-assembler ".section\[ \t]+__DATA,__const_coal,coalesced\\n\[ \t]+.globl\[ \t]+__ZTV1f\\n\[ \t]+.weak_definition\[ \t]+__ZTV1f\\n" } }
+// { dg-final { scan-assembler ".section\[ \t]+__TEXT,__const_coal,coalesced\\n\[ \t]+.globl\[ \t]+__ZTS1f\\n\[ \t]+.weak_definition\[ \t]+__ZTS1f\\n" } }
+
 //  With llvm ZTI1f is in the right place, but the ordering is different
 // so the .section directive is not needed.  Do the best we can.
 // (It belongs in the same place as ZTV1f.)
-// { dg-final { scan-assembler ".globl	__ZTI1f\\n	.weak_definition __ZTI1f\\n" } }
+// { dg-final { scan-assembler ".globl\[ \t]+__ZTI1f\\n\[ \t]+.weak_definition\[ \t]+__ZTI1f\\n" } }
 // LLVM LOCAL end
 
 class f





More information about the llvm-commits mailing list