From: Enrico Granata Date: Mon, 3 Aug 2015 20:47:19 +0000 (+0000) Subject: Jim suggested to use eArgTypeAddressOrExpression for the addresses that 'memory find... X-Git-Tag: studio-1.4~984 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=760af88d86aafd1e0be50e47d1ea6def5ce1a362;p=platform%2Fupstream%2Fllvm.git Jim suggested to use eArgTypeAddressOrExpression for the addresses that 'memory find' takes llvm-svn: 243902 --- diff --git a/lldb/source/Commands/CommandObjectMemory.cpp b/lldb/source/Commands/CommandObjectMemory.cpp index 3541f4f..42a8baf 100644 --- a/lldb/source/Commands/CommandObjectMemory.cpp +++ b/lldb/source/Commands/CommandObjectMemory.cpp @@ -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);