[Lldb-commits] [lldb] r243902 - Jim suggested to use eArgTypeAddressOrExpression for the addresses that 'memory find' takes

Enrico Granata egranata at apple.com
Mon Aug 3 13:47:19 PDT 2015


Author: enrico
Date: Mon Aug  3 15:47:19 2015
New Revision: 243902

URL: http://llvm.org/viewvc/llvm-project?rev=243902&view=rev
Log:
Jim suggested to use eArgTypeAddressOrExpression for the addresses that 'memory find' takes

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=243902&r1=243901&r2=243902&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectMemory.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectMemory.cpp Mon Aug  3 15:47:19 2015
@@ -1042,15 +1042,15 @@ public:
     CommandArgumentData value_arg;
     
     // Define the first (and only) variant of this arg.
-    addr_arg.arg_type = eArgTypeAddress;
+    addr_arg.arg_type = eArgTypeAddressOrExpression;
     addr_arg.arg_repetition = eArgRepeatPlain;
     
     // There is only one variant this argument could be; put it into the argument entry.
     arg1.push_back (addr_arg);
     
     // Define the first (and only) variant of this arg.
-    value_arg.arg_type = eArgTypeValue;
-    value_arg.arg_repetition = eArgRepeatPlus;
+    value_arg.arg_type = eArgTypeAddressOrExpression;
+    value_arg.arg_repetition = eArgRepeatPlain;
     
     // There is only one variant this argument could be; put it into the argument entry.
     arg2.push_back (value_arg);





More information about the lldb-commits mailing list