diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-04 07:25:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-04 07:25:52 +0000 |
commit | dd89ce9a82111f04bda9de62df87340dc06cddc2 (patch) | |
tree | 13ae827e48beaf3c668256f6ba45d43816086f7a /llvm | |
parent | 3cb9086c26009f5557a1ed2480b972172f368b60 (diff) | |
download | bcm5719-llvm-dd89ce9a82111f04bda9de62df87340dc06cddc2.tar.gz bcm5719-llvm-dd89ce9a82111f04bda9de62df87340dc06cddc2.zip |
use EmitRawText instead of O in DwarfPrinter.
llvm-svn: 100323
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 1 | ||||
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index ba32884885c..ab889217840 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -1610,7 +1610,6 @@ void AsmPrinter::printImplicitDef(const MachineInstr *MI) const { void AsmPrinter::printKill(const MachineInstr *MI) const { if (!VerboseAsm) return; - O.PadToColumn(MAI->getCommentColumn()); std::string Str = "kill:"; for (unsigned n = 0, e = MI->getNumOperands(); n != e; ++n) { diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp index 17eb2e87274..9de17883420 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp @@ -227,8 +227,7 @@ void DwarfPrinter::EmitSectionOffset(const MCSymbol *Label, // On COFF targets, we have to emit the weird .secrel32 directive. if (const char *SecOffDir = MAI->getDwarfSectionOffsetDirective()) { // FIXME: MCize. - Asm->O << SecOffDir << Label->getName(); - Asm->OutStreamer.AddBlankLine(); + Asm->OutStreamer.EmitRawText(SecOffDir + Twine(Label->getName())); } else { unsigned Size = IsSmall ? 4 : TD->getPointerSize(); Asm->OutStreamer.EmitSymbolValue(Label, Size, 0/*AddrSpace*/); |