[Lldb-commits] [lldb] r145720 - /lldb/trunk/source/Core/ValueObject.cpp

Greg Clayton gclayton at apple.com
Fri Dec 2 14:48:25 PST 2011


Author: gclayton
Date: Fri Dec  2 16:48:25 2011
New Revision: 145720

URL: http://llvm.org/viewvc/llvm-project?rev=145720&view=rev
Log:
<rdar://problem/10410131>

Fixed an issue that could cause an infinite recursion when using "type filter".


Modified:
    lldb/trunk/source/Core/ValueObject.cpp

Modified: lldb/trunk/source/Core/ValueObject.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/ValueObject.cpp?rev=145720&r1=145719&r2=145720&view=diff
==============================================================================
--- lldb/trunk/source/Core/ValueObject.cpp (original)
+++ lldb/trunk/source/Core/ValueObject.cpp Fri Dec  2 16:48:25 2011
@@ -2307,7 +2307,7 @@
                     }
                     else if (options.m_no_synthetic_children == false) // let's try with synthetic children
                     {
-                        child_valobj_sp = root->GetSyntheticValue(eUseSyntheticFilter)->GetChildMemberWithName(child_name, true);
+                        child_valobj_sp = root->GetSyntheticValue(eNoSyntheticFilter)->GetChildMemberWithName(child_name, true);
                     }
                     
                     // if we are here and options.m_no_synthetic_children is true, child_valobj_sp is going to be a NULL SP,





More information about the lldb-commits mailing list