[llvm-commits] [llvm-gcc-4.2] r110672 - /llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/5490617.c

Bill Wendling isanbard at gmail.com
Tue Aug 10 04:10:32 PDT 2010


Author: void
Date: Tue Aug 10 06:10:32 2010
New Revision: 110672

URL: http://llvm.org/viewvc/llvm-project?rev=110672&view=rev
Log:
llvm emits the symbol into the bss section with a .zerofill directive. The symbol has the correct linkage and section via nm.

Modified:
    llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/5490617.c

Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/5490617.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/5490617.c?rev=110672&r1=110671&r2=110672&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/5490617.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.apple/5490617.c Tue Aug 10 06:10:32 2010
@@ -4,4 +4,4 @@
 char *my_endbss_static = _my_endbss;
 
 /* LLVM LOCAL allow different spacing */
-/* { dg-final { scan-assembler ".lcomm( |\t)__my_endbss" } } */
+/* { dg-final { scan-assembler ".zerofill\[ \t]+__DATA,__bss,__my_endbss" } } */





More information about the llvm-commits mailing list