[llvm-commits] [llvm] r95839 - in /llvm/trunk/lib/CodeGen/AsmPrinter: DIE.cpp DwarfPrinter.cpp
Bill Wendling
isanbard at gmail.com
Wed Feb 10 17:13:03 PST 2010
Author: void
Date: Wed Feb 10 19:13:02 2010
New Revision: 95839
URL: http://llvm.org/viewvc/llvm-project?rev=95839&view=rev
Log:
Don't print out a default newline when emitting the section offset. There are
almost always comments afterwards that need printing.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DIE.cpp
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DIE.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DIE.cpp?rev=95839&r1=95838&r2=95839&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DIE.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DIE.cpp Wed Feb 10 19:13:02 2010
@@ -313,6 +313,7 @@
D->EmitSectionOffset(Label.getTag(), Section.getTag(),
Label.getNumber(), Section.getNumber(),
IsSmall, IsEH, UseSet);
+ EOL(""); // FIXME: Necesssary?
}
/// SizeOf - Determine size of delta value in bytes.
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp?rev=95839&r1=95838&r2=95839&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp Wed Feb 10 19:13:02 2010
@@ -248,7 +248,6 @@
PrintRelDirective(IsSmall);
PrintLabelName("set", SetCounter, Flavor);
++SetCounter;
- O << "\n";
} else {
PrintRelDirective(IsSmall, true);
PrintLabelName(Label, LabelNumber);
@@ -257,7 +256,6 @@
O << "-";
PrintLabelName(Section, SectionNumber);
}
- O << "\n";
}
}
More information about the llvm-commits
mailing list