forked from OSchip/llvm-project
use EmitRawText instead of O in DwarfPrinter.
llvm-svn: 100323
This commit is contained in:
parent
3cb9086c26
commit
dd89ce9a82
|
@ -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) {
|
||||
|
|
|
@ -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*/);
|
||||
|
|
Loading…
Reference in New Issue