mirror of
https://github.com/intel/llvm.git
synced 2026-01-23 07:58:23 +08:00
Fixed an issue in the debugger format strings that include "${function.name-with-args}"
where we grabbed the variable list size from the wrong list (we needed it from "args" and we were getting it from "variable_list_sp"). llvm-svn: 148425
This commit is contained in:
@@ -1957,7 +1957,7 @@ Debugger::FormatPrompt
|
||||
s.PutCString (cstr);
|
||||
s.PutChar ('(');
|
||||
}
|
||||
const size_t num_args = variable_list_sp->GetSize();
|
||||
const size_t num_args = args.GetSize();
|
||||
for (size_t arg_idx = 0; arg_idx < num_args; ++arg_idx)
|
||||
{
|
||||
VariableSP var_sp (args.GetVariableAtIndex (arg_idx));
|
||||
|
||||
Reference in New Issue
Block a user