parent
9524f25b0f
commit
28f2719d83
|
@ -2715,7 +2715,10 @@ void DwarfDebug::emitDebugLoc() {
|
||||||
} else {
|
} else {
|
||||||
Asm->OutStreamer.AddComment("Loc expr size");
|
Asm->OutStreamer.AddComment("Loc expr size");
|
||||||
Asm->EmitInt16(1 + MCAsmInfo::getULEB128Size(Reg));
|
Asm->EmitInt16(1 + MCAsmInfo::getULEB128Size(Reg));
|
||||||
|
Asm->OutStreamer.AddComment(
|
||||||
|
dwarf::OperationEncodingString(dwarf::DW_OP_regx));
|
||||||
Asm->EmitInt8(dwarf::DW_OP_regx);
|
Asm->EmitInt8(dwarf::DW_OP_regx);
|
||||||
|
Asm->OutStreamer.AddComment(Twine(Reg));
|
||||||
Asm->EmitULEB128(Reg);
|
Asm->EmitULEB128(Reg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue