diff --git a/lldb/include/lldb/Core/ValueObjectSyntheticFilter.h b/lldb/include/lldb/Core/ValueObjectSyntheticFilter.h --- a/lldb/include/lldb/Core/ValueObjectSyntheticFilter.h +++ b/lldb/include/lldb/Core/ValueObjectSyntheticFilter.h @@ -82,6 +82,10 @@ : lldb::eNoDynamicValues); } + lldb::VariableSP GetVariable() override { + return m_parent != nullptr ? m_parent->GetVariable() : nullptr; + } + ValueObject *GetParent() override { return ((m_parent != nullptr) ? m_parent->GetParent() : nullptr); }