summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-02-11 01:13:02 +0000
committerBill Wendling <isanbard@gmail.com>2010-02-11 01:13:02 +0000
commit6034260c431b5488798d215124ef2e8bc31fc54d (patch)
tree3deda29415b20f5b24f066f03b044105c4180d30 /llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp
parent13b9782cc01cb62e749721603d546e73ee569394 (diff)
downloadbcm5719-llvm-6034260c431b5488798d215124ef2e8bc31fc54d.tar.gz
bcm5719-llvm-6034260c431b5488798d215124ef2e8bc31fc54d.zip
Don't print out a default newline when emitting the section offset. There are
almost always comments afterwards that need printing. llvm-svn: 95839
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp
index 415390bc281..4de0b747401 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp
@@ -248,7 +248,6 @@ void DwarfPrinter::EmitSectionOffset(const char* Label, const char* Section,
PrintRelDirective(IsSmall);
PrintLabelName("set", SetCounter, Flavor);
++SetCounter;
- O << "\n";
} else {
PrintRelDirective(IsSmall, true);
PrintLabelName(Label, LabelNumber);
@@ -257,7 +256,6 @@ void DwarfPrinter::EmitSectionOffset(const char* Label, const char* Section,
O << "-";
PrintLabelName(Section, SectionNumber);
}
- O << "\n";
}
}
OpenPOWER on IntegriCloud