From: Chris Lattner Date: Tue, 9 May 2006 05:19:59 +0000 (+0000) Subject: Don't prefix section directives with a tab. Doing so causes blank lines to X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=23b9eac4cbd0d3aba53eb802d7af8a11280985e7;p=oota-llvm.git Don't prefix section directives with a tab. Doing so causes blank lines to be emitted to the .s file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28189 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp index 28ff772d1ce..846d41d25f0 100644 --- a/lib/CodeGen/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter.cpp @@ -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;