Changes in directory llvm/lib/CodeGen:
AsmPrinter.cpp updated: 1.30 -> 1.31 --- Log message: Avoid emitting two tabs when switching to a named section --- Diffs of the changes: (+2 -2) AsmPrinter.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/CodeGen/AsmPrinter.cpp diff -u llvm/lib/CodeGen/AsmPrinter.cpp:1.30 llvm/lib/CodeGen/AsmPrinter.cpp:1.31 --- llvm/lib/CodeGen/AsmPrinter.cpp:1.30 Tue Dec 6 00:18:55 2005 +++ llvm/lib/CodeGen/AsmPrinter.cpp Fri Dec 9 13:28:49 2005 @@ -30,12 +30,12 @@ if (GV && GV->hasSection()) NS = SwitchToSectionDirective + GV->getSection(); else - NS = NewSection; + NS = std::string("\t")+NewSection; if (CurrentSection != NS) { CurrentSection = NS; if (!CurrentSection.empty()) - O << "\t" << CurrentSection << "\n"; + O << CurrentSection << '\n'; } } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits