示例#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;
 }
示例#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;
 }