Fixing a potential crasher where a synthetic value could return itself as its static value
llvm-svn: 175574
This commit is contained in:
parent
11b0e05490
commit
9d6f7037ba
|
@ -89,6 +89,15 @@ public:
|
|||
return false;
|
||||
}
|
||||
|
||||
virtual lldb::ValueObjectSP
|
||||
GetStaticValue ()
|
||||
{
|
||||
if (m_parent)
|
||||
return m_parent->GetStaticValue();
|
||||
else
|
||||
return GetSP();
|
||||
}
|
||||
|
||||
virtual lldb::DynamicValueType
|
||||
GetDynamicValueType ()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue