Exemplo n.º 1
0
 bool
 operator() (const lldb::TypeSP& type)
 {
     if (type && type->GetSymbolContextScope() != nullptr && modulesp.get() == type->GetSymbolContextScope()->CalculateSymbolContextModule().get())
     {
         type_list.Insert(type);
         type_map.RemoveTypeWithUID(type->GetID());
         return false;
     }
     return true;
 }
Exemplo n.º 2
0
 bool
 operator() (const lldb::TypeSP& type)
 {
     if (type && type->GetSymbolContextScope() != nullptr && comp_unit == type->GetSymbolContextScope()->CalculateSymbolContextCompileUnit())
     {
         type_list.Insert(type);
         type_map.RemoveTypeWithUID(type->GetID());
         return false;
     }
     return true;
 }
Exemplo n.º 3
0
 bool
 operator() (const lldb::TypeSP& type)
 {
     if(type)
     {
         type_list.Insert(type);
         type_map.RemoveTypeWithUID(type->GetID());
         if (type_map.Empty())
             return false;
     }
     return true;
 }
Exemplo n.º 4
0
Arquivo: Type.cpp Projeto: vargaz/lldb
SymbolFileType::SymbolFileType(SymbolFile &symbol_file,
                               const lldb::TypeSP &type_sp)
    : UserID(type_sp ? type_sp->GetID() : LLDB_INVALID_UID),
      m_symbol_file(symbol_file), m_type_sp(type_sp) {}