Set variables returned by utility functions to

not consume slots in the persistent variable
store.

llvm-svn: 154416
This commit is contained in:
Sean Callanan 2012-04-10 18:16:59 +00:00
parent d654c250c4
commit 6153c518b9
1 changed files with 2 additions and 1 deletions

View File

@ -303,7 +303,8 @@ ThreadPlanCallFunction::DoTakedown ()
const ABI *abi = process_sp ? process_sp->GetABI().get() : NULL;
if (abi && m_return_type.IsValid())
{
m_return_valobj_sp = abi->GetReturnValueObject (m_thread, m_return_type);
const bool persistent = false;
m_return_valobj_sp = abi->GetReturnValueObject (m_thread, m_return_type, persistent);
}
if (log)