[Lldb-commits] [lldb] r131998 - /lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp
Johnny Chen
johnny.chen at apple.com
Tue May 24 13:36:40 PDT 2011
Author: johnny
Date: Tue May 24 15:36:40 2011
New Revision: 131998
URL: http://llvm.org/viewvc/llvm-project?rev=131998&view=rev
Log:
Add comment.
Modified:
lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp
Modified: lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp?rev=131998&r1=131997&r2=131998&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp (original)
+++ lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp Tue May 24 15:36:40 2011
@@ -132,6 +132,8 @@
if (!Str.empty() && Str.back() == c)
Str = Str.substr(0, Str.size()-1);
}
+// Aligns the raw disassembly (passed as 'str') with the rest of edis'ed disassembly output.
+// This is called from non-raw mode when edis of the current m_inst fails for some reason.
static void
Align(Stream *s, const char *str, size_t opcodeColWidth, size_t operandColWidth)
{
More information about the lldb-commits
mailing list