Add comment in output stream.

llvm-svn: 129921
This commit is contained in:
Devang Patel 2011-04-21 17:50:24 +00:00
parent 9524f25b0f
commit 28f2719d83
1 changed files with 3 additions and 0 deletions

View File

@ -2715,7 +2715,10 @@ void DwarfDebug::emitDebugLoc() {
} else {
Asm->OutStreamer.AddComment("Loc expr size");
Asm->EmitInt16(1 + MCAsmInfo::getULEB128Size(Reg));
Asm->OutStreamer.AddComment(
dwarf::OperationEncodingString(dwarf::DW_OP_regx));
Asm->EmitInt8(dwarf::DW_OP_regx);
Asm->OutStreamer.AddComment(Twine(Reg));
Asm->EmitULEB128(Reg);
}
}