diff options
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/AsmPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp index a9bd4ebd11..dd100c6e19 100644 --- a/lib/CodeGen/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter.cpp @@ -30,12 +30,12 @@ void AsmPrinter::SwitchSection(const char *NewSection, const GlobalValue *GV) { 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'; } } |