[Lldb-commits] [lldb] r154416 - /lldb/trunk/source/Target/ThreadPlanCallFunction.cpp

Sean Callanan scallanan at apple.com
Tue Apr 10 11:17:00 PDT 2012


Author: spyffe
Date: Tue Apr 10 13:16:59 2012
New Revision: 154416

URL: http://llvm.org/viewvc/llvm-project?rev=154416&view=rev
Log:
Set variables returned by utility functions to
not consume slots in the persistent variable
store.

Modified:
    lldb/trunk/source/Target/ThreadPlanCallFunction.cpp

Modified: lldb/trunk/source/Target/ThreadPlanCallFunction.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/ThreadPlanCallFunction.cpp?rev=154416&r1=154415&r2=154416&view=diff
==============================================================================
--- lldb/trunk/source/Target/ThreadPlanCallFunction.cpp (original)
+++ lldb/trunk/source/Target/ThreadPlanCallFunction.cpp Tue Apr 10 13:16:59 2012
@@ -303,7 +303,8 @@
         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)





More information about the lldb-commits mailing list