diff options
author | Chris Lattner <sabre@nondot.org> | 2006-05-09 05:19:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-05-09 05:19:59 +0000 |
commit | 23b9eac4cbd0d3aba53eb802d7af8a11280985e7 (patch) | |
tree | 1695e3152bab17eff1bba0e0d41e31c9f6e596fb /lib/CodeGen/AsmPrinter.cpp | |
parent | 13f161c51844d02af9b3637330af95f79db2f1c1 (diff) |
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/AsmPrinter.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter.cpp | 2 |
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; |