[Lldb-commits] [lldb] r124588 - /lldb/trunk/source/Plugins/Process/Utility/EmulateInstructionARM.cpp

Johnny Chen johnny.chen at apple.com
Mon Jan 31 10:02:28 PST 2011


Author: johnny
Date: Mon Jan 31 12:02:28 2011
New Revision: 124588

URL: http://llvm.org/viewvc/llvm-project?rev=124588&view=rev
Log:
Add some comments to the emulate_* functions.

Modified:
    lldb/trunk/source/Plugins/Process/Utility/EmulateInstructionARM.cpp

Modified: lldb/trunk/source/Plugins/Process/Utility/EmulateInstructionARM.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Utility/EmulateInstructionARM.cpp?rev=124588&r1=124587&r2=124588&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Utility/EmulateInstructionARM.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Utility/EmulateInstructionARM.cpp Mon Jan 31 12:02:28 2011
@@ -68,6 +68,9 @@
     const char *name;
 }  ARMOpcode;
 
+// Push Multiple Registers stores multiple registers to the stack, storing to
+// consecutive memory locations ending just below the address in SP, and updates
+// SP to point to the start of the stored data.
 static bool 
 emulate_push (EmulateInstructionARM *emulator, ARMEncoding encoding)
 {
@@ -660,7 +663,7 @@
     return true;
 }
 
-// A store operation to the stacks that also updates the SP.
+// A store operation to the stack that also updates the SP.
 static bool
 emulate_str_rt_sp (EmulateInstructionARM *emulator, ARMEncoding encoding)
 {
@@ -733,6 +736,8 @@
     return true;
 }
 
+// Vector Push stores multiple extension registers to the stack.
+// It also updates SP to point to the start of the stored data.
 static bool 
 emulate_vpush (EmulateInstructionARM *emulator, ARMEncoding encoding)
 {





More information about the lldb-commits mailing list