forked from OSchip/llvm-project
Correct logging for function calls that return SBValueList
llvm-svn: 174670
This commit is contained in:
parent
b6e5f854f5
commit
d96f0682e5
|
@ -52,7 +52,14 @@ public:
|
|||
const lldb::SBValueList &
|
||||
operator = (const lldb::SBValueList &rhs);
|
||||
|
||||
protected:
|
||||
|
||||
void *
|
||||
get ();
|
||||
|
||||
private:
|
||||
friend class SBFrame;
|
||||
|
||||
SBValueList (const ValueListImpl *lldb_object_ptr);
|
||||
|
||||
void
|
||||
|
@ -73,8 +80,6 @@ private:
|
|||
const ValueListImpl &
|
||||
operator* () const;
|
||||
|
||||
ValueListImpl *
|
||||
get ();
|
||||
|
||||
ValueListImpl &
|
||||
ref ();
|
||||
|
|
|
@ -1159,7 +1159,7 @@ SBFrame::GetVariables (bool arguments,
|
|||
|
||||
if (log)
|
||||
{
|
||||
log->Printf ("SBFrame(%p)::GetVariables (...) => SBValueList", frame);
|
||||
log->Printf ("SBFrame(%p)::GetVariables (...) => SBValueList(%p)", frame, value_list.get());
|
||||
}
|
||||
|
||||
return value_list;
|
||||
|
@ -1209,7 +1209,7 @@ SBFrame::GetRegisters ()
|
|||
}
|
||||
|
||||
if (log)
|
||||
log->Printf ("SBFrame(%p)::GetRegisters () => SBValueList", frame);
|
||||
log->Printf ("SBFrame(%p)::GetRegisters () => SBValueList(%p)", frame, value_list.get());
|
||||
|
||||
return value_list;
|
||||
}
|
||||
|
|
|
@ -262,7 +262,7 @@ SBValueList::FindValueObjectByUID (lldb::user_id_t uid)
|
|||
return sb_value;
|
||||
}
|
||||
|
||||
ValueListImpl *
|
||||
void *
|
||||
SBValueList::get ()
|
||||
{
|
||||
return m_opaque_ap.get();
|
||||
|
|
Loading…
Reference in New Issue