From 23b9eac4cbd0d3aba53eb802d7af8a11280985e7 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 9 May 2006 05:19:59 +0000 Subject: [PATCH] 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 --- lib/CodeGen/AsmPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.34.1