mirror of
https://github.com/intel/llvm.git
synced 2026-02-01 08:56:15 +08:00
This patch does a few things:
- adds a new flag to mark ValueObjects as "synthetic children generated" - vends new Create functions as part of the SyntheticChildrenFrontEnd that set the flag automatically - moves synthetic child providers over to using these new functions No visible feature change, but preparatory work for feature change llvm-svn: 223819
This commit is contained in:
@@ -276,7 +276,7 @@ lldb_private::formatters::LibstdcppMapIteratorSyntheticFrontEnd::GetChildAtIndex
|
||||
if (m_pair_address != 0 && m_pair_type)
|
||||
{
|
||||
if (!m_pair_sp)
|
||||
m_pair_sp = ValueObject::CreateValueObjectFromAddress("pair", m_pair_address, m_exe_ctx_ref, m_pair_type);
|
||||
m_pair_sp = CreateValueObjectFromAddress("pair", m_pair_address, m_exe_ctx_ref, m_pair_type);
|
||||
if (m_pair_sp)
|
||||
return m_pair_sp->GetChildAtIndex(idx, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user