[Lldb-commits] [lldb] r177814 - Set the correct byte size for complex integer (-fI) memory reads.

Jason Molenda jmolenda at apple.com
Fri Mar 22 22:16:55 PDT 2013


Author: jmolenda
Date: Sat Mar 23 00:16:54 2013
New Revision: 177814

URL: http://llvm.org/viewvc/llvm-project?rev=177814&view=rev
Log:
Set the correct byte size for complex integer (-fI) memory reads.
<rdar://problem/12281172> 

Modified:
    lldb/trunk/source/Commands/CommandObjectMemory.cpp

Modified: lldb/trunk/source/Commands/CommandObjectMemory.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectMemory.cpp?rev=177814&r1=177813&r2=177814&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectMemory.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectMemory.cpp Sat Mar 23 00:16:54 2013
@@ -221,6 +221,14 @@ public:
                 if (!count_option_set)
                     format_options.GetCountValue() = 8;
                 break;
+            case eFormatComplexInteger:
+                if (!byte_size_option_set)
+                    byte_size_value = 8;
+                if (!num_per_line_option_set)
+                    m_num_per_line = 1;
+                if (!count_option_set)
+                    format_options.GetCountValue() = 8;
+                break;
             case eFormatHex:
                 if (!byte_size_option_set)
                     byte_size_value = 4;





More information about the lldb-commits mailing list