mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +00:00
Improve comment: Show the register the DWARF label is added to.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134209 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2374cb8e7d
commit
e08d4335ad
@ -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