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

Dale Johannesen dalej at apple.com
Mon Jul 13 14:12:04 PDT 2009


Author: johannes
Date: Mon Jul 13 16:12:04 2009
New Revision: 75502

URL: http://llvm.org/viewvc/llvm-project?rev=75502&view=rev
Log:
Adjust test to compensate for whitespace changes in assembly output.


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=75502&r1=75501&r2=75502&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 Mon Jul 13 16:12:04 2009
@@ -3,8 +3,8 @@
 
 // { 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.*__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" } }
 //  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.)





More information about the llvm-commits mailing list