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 | d36cc2b61078e1a7646a4cd091d6dd7f899634c1 (patch) | |
| tree | 4bd6d05e307ef767fbc81628a5da40dc2a9fea3f /llvm/lib/CodeGen/AsmPrinter.cpp | |
| parent | e64f764d25831f9e1e136647d9d2c8fa958b6cf0 (diff) | |
| download | bcm5719-llvm-d36cc2b61078e1a7646a4cd091d6dd7f899634c1.tar.gz bcm5719-llvm-d36cc2b61078e1a7646a4cd091d6dd7f899634c1.zip | |
Don't prefix section directives with a tab. Doing so causes blank lines to
be emitted to the .s file.
llvm-svn: 28189
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter.cpp index 28ff772d1ce..846d41d25f0 100644 --- a/llvm/lib/CodeGen/AsmPrinter.cpp +++ b/llvm/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; |

