Don't prefix section directives with a tab. Doing so causes blank lines to
authorChris Lattner <sabre@nondot.org>
Tue, 9 May 2006 05:19:59 +0000 (05:19 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 9 May 2006 05:19:59 +0000 (05:19 +0000)
be emitted to the .s file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28189 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter.cpp

index 28ff772d1ce0b58f1d81ca8515815c15a892e712..846d41d25f0d44208927e43048460997d6fcd9dd 100644 (file)
@@ -123,7 +123,7 @@ void AsmPrinter::SwitchToDataSection(const char *NewSection,
     if (GV && GV->hasSection())
       NS = SwitchToSectionDirective + GV->getSection();
     else
-      NS = std::string("\t")+NewSection;
+      NS = NewSection;
     
     if (CurrentSection != NS) {
       CurrentSection = NS;