diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-06-30 23:47:40 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-06-30 23:47:40 +0000 |
commit | e08d4335ad29d74008222b4d7ac91c153ed66bec (patch) | |
tree | 97ba26f161803043ed83b9774c347bae144daefe | |
parent | 2374cb8e7d05082e15e2ae9950bab87aa2c664c9 (diff) |
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
-rw-r--r-- | lib/MC/MCDwarf.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/MC/MCDwarf.cpp b/lib/MC/MCDwarf.cpp index 1a3596a234..72ce441e19 100644 --- a/lib/MC/MCDwarf.cpp +++ b/lib/MC/MCDwarf.cpp @@ -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); |