mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
Improve comment: Show the register the DWARF label is added to.
llvm-svn: 134209
This commit is contained in:
parent
6aa9fb80dc
commit
995ebcfd4c
@ -621,7 +621,8 @@ void FrameEmitterImpl::EmitCFIInstruction(MCStreamer &Streamer,
|
||||
if (VerboseAsm) Streamer.AddComment(Twine("Offset ") + Twine(Offset));
|
||||
Streamer.EmitSLEB128IntValue(Offset);
|
||||
} else if (Reg < 64) {
|
||||
if (VerboseAsm) Streamer.AddComment("DW_CFA_offset");
|
||||
if (VerboseAsm) Streamer.AddComment(Twine("DW_CFA_offset + Reg(") +
|
||||
Twine(Reg) + ")");
|
||||
Streamer.EmitIntValue(dwarf::DW_CFA_offset + Reg, 1);
|
||||
if (VerboseAsm) Streamer.AddComment(Twine("Offset ") + Twine(Offset));
|
||||
Streamer.EmitULEB128IntValue(Offset);
|
||||
|
Loading…
Reference in New Issue
Block a user