<rdar://problem/10410131>

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

llvm-svn: 145720
This commit is contained in:
Greg Clayton
2011-12-02 22:48:25 +00:00
parent eb53822f5a
commit 4c3b8fb7e6

View File

@@ -2307,7 +2307,7 @@ ValueObject::GetValueForExpressionPath_Impl(const char* expression_cstr,
}
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,