summaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-09 05:19:59 +0000
committerChris Lattner <sabre@nondot.org>2006-05-09 05:19:59 +0000
commit23b9eac4cbd0d3aba53eb802d7af8a11280985e7 (patch)
tree1695e3152bab17eff1bba0e0d41e31c9f6e596fb /lib/CodeGen
parent13f161c51844d02af9b3637330af95f79db2f1c1 (diff)
downloadllvm-23b9eac4cbd0d3aba53eb802d7af8a11280985e7.tar.gz
llvm-23b9eac4cbd0d3aba53eb802d7af8a11280985e7.tar.bz2
llvm-23b9eac4cbd0d3aba53eb802d7af8a11280985e7.tar.xz
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
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp
index 28ff772d1c..846d41d25f 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;