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

Dale Johannesen dalej at apple.com
Tue May 27 11:29:48 PDT 2008


Author: johannes
Date: Tue May 27 13:29:48 2008
New Revision: 51602

URL: http://llvm.org/viewvc/llvm-project?rev=51602&view=rev
Log:
Adjust testcase to reflect different ordering emitted
by llvmgcc (as best we can).


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=51602&r1=51601&r2=51602&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 May 27 13:29:48 2008
@@ -4,7 +4,12 @@
 // { dg-do compile { target *-*-darwin* } }
 // { dg-final { scan-assembler ".globl __ZTV1f\\n	.weak_definition __ZTV1f\\n	.section __DATA,__const_coal,coalesced" } }
 // { dg-final { scan-assembler ".globl __ZTS1f\\n	.weak_definition __ZTS1f\\n	.section __TEXT,__const_coal,coalesced" } }
-// { dg-final { scan-assembler ".globl __ZTI1f\\n	.weak_definition __ZTI1f\\n	.section __DATA,__const_coal,coalesced" } }
+// LLVM LOCAL begin
+//  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.)
+// LLVM LOCAL end
+// { dg-final { scan-assembler ".globl __ZTI1f\\n	.weak_definition __ZTI1f\\n" } }
 
 class f
 {





More information about the llvm-commits mailing list