Home
last modified time | relevance | path

Searched refs:type_sp (Results 1 – 25 of 37) sorted by relevance

12

/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Symbol/
H A DType.h260 type_sp.get() == rhs.type_sp.get();
265 type_sp.get() != rhs.type_sp.get();
274 if (type_sp) in GetName()
282 if (type_sp) in GetDisplayTypeName()
296 if (type_sp) in SetType()
307 if (type_sp) in GetPointerType()
313 if (type_sp) in GetPointeeType()
319 if (type_sp) in GetReferenceType()
326 if (type_sp) in GetTypedefedType()
333 if (type_sp) in GetDereferencedType()
[all …]
H A DTypeMap.h52 std::function<bool(const lldb::TypeSP &type_sp)> const &callback) const;
54 void ForEach(std::function<bool(lldb::TypeSP &type_sp)> const &callback);
56 bool Remove(const lldb::TypeSP &type_sp);
H A DTypeList.h52 std::function<bool(const lldb::TypeSP &type_sp)> const &callback) const;
54 void ForEach(std::function<bool(lldb::TypeSP &type_sp)> const &callback);
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DTypeMap.cpp43 void TypeMap::Insert(const TypeSP &type_sp) { in Insert() argument
46 if (type_sp) in Insert()
47 m_types.insert(std::make_pair(type_sp->GetID(), type_sp)); in Insert()
50 bool TypeMap::InsertUnique(const TypeSP &type_sp) { in InsertUnique() argument
51 if (type_sp) { in InsertUnique()
52 user_id_t type_uid = type_sp->GetID(); in InsertUnique()
57 if (pos->second.get() == type_sp.get()) in InsertUnique()
60 Insert(type_sp); in InsertUnique()
131 if (type_sp) { in Remove()
132 lldb::user_id_t uid = type_sp->GetID(); in Remove()
[all …]
H A DType.cpp98 : UserID(type_sp ? type_sp->GetID() : LLDB_INVALID_UID), in SymbolFileType()
350 lldb::TypeSP type_sp; in GetTypedefType() local
356 return type_sp; in GetTypedefType()
734 m_type_pair.SetType(type_sp); in SetTypeSP()
770 TypeImpl::TypeImpl(const lldb::TypeSP &type_sp) in TypeImpl() argument
772 SetType(type_sp); in TypeImpl()
782 SetType(type_sp, dynamic); in TypeImpl()
797 m_static_type.SetType(type_sp); in SetType()
798 if (type_sp) in SetType()
799 m_module_wp = type_sp->GetModule(); in SetType()
[all …]
H A DTypeList.cpp30 void TypeList::Insert(const TypeSP &type_sp) { in Insert() argument
33 if (type_sp) in Insert()
34 m_types.push_back(type_sp); in Insert()
86 std::function<bool(const lldb::TypeSP &type_sp)> const &callback) const { in ForEach()
94 std::function<bool(lldb::TypeSP &type_sp)> const &callback) { in ForEach()
H A DSymbolContext.cpp596 [curr_block, &type_list](const lldb::TypeSP &type_sp) -> bool { in SortTypeList() argument
597 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList()
599 type_list.Insert(type_sp); in SortTypeList()
606 type_map.Remove(type_sp); in SortTypeList()
618 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList()
620 type_list.Insert(type_sp); in SortTypeList()
640 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList()
642 type_list.Insert(type_sp); in SortTypeList()
661 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList()
663 type_list.Insert(type_sp); in SortTypeList()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/DataFormatters/
H A DTypeCategory.cpp426 if (type_sp) { in GetFormatForType()
427 if (type_sp->IsRegex()) in GetFormatForType()
442 if (type_sp) { in GetSummaryForType()
443 if (type_sp->IsRegex()) in GetSummaryForType()
445 ConstString(type_sp->GetName()), retval); in GetSummaryForType()
458 if (type_sp) { in GetFilterForType()
459 if (type_sp->IsRegex()) in GetFilterForType()
475 if (type_sp) { in GetSyntheticForType()
476 if (type_sp->IsRegex()) in GetSyntheticForType()
492 if (type_sp) { in GetValidatorForType()
[all …]
H A DDataVisualization.cpp39 DataVisualization::GetFormatForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetFormatForType() argument
40 return GetFormatManager().GetFormatForType(type_sp); in GetFormatForType()
50 DataVisualization::GetSummaryForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetSummaryForType() argument
51 return GetFormatManager().GetSummaryForType(type_sp); in GetSummaryForType()
64 lldb::TypeNameSpecifierImplSP type_sp) { in GetSyntheticChildrenForType() argument
65 return GetFormatManager().GetSyntheticChildrenForType(type_sp); in GetSyntheticChildrenForType()
70 DataVisualization::GetFilterForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetFilterForType() argument
71 return GetFormatManager().GetFilterForType(type_sp); in GetFilterForType()
76 DataVisualization::GetSyntheticForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetSyntheticForType() argument
77 return GetFormatManager().GetSyntheticForType(type_sp); in GetSyntheticForType()
[all …]
H A DFormatManager.cpp288 if (!type_sp) in GetFormatForType()
299 category_sp->GetFormatForType(type_sp); in GetFormatForType()
312 if (!type_sp) in GetSummaryForType()
323 category_sp->GetSummaryForType(type_sp); in GetSummaryForType()
336 if (!type_sp) in GetFilterForType()
361 if (!type_sp) in GetSyntheticForType()
387 lldb::TypeNameSpecifierImplSP type_sp) { in GetSyntheticChildrenForType() argument
388 if (!type_sp) in GetSyntheticChildrenForType()
390 lldb::TypeFilterImplSP filter_sp = GetFilterForType(type_sp); in GetSyntheticChildrenForType()
401 if (!type_sp) in GetValidatorForType()
[all …]
H A DTypeFormat.cpp170 for (lldb::TypeSP type_sp : types.Types()) { in FormatObject() local
171 if (!type_sp) in FormatObject()
173 if ((type_sp->GetForwardCompilerType().GetTypeInfo() & in FormatObject()
175 valobj_enum_type = type_sp->GetFullCompilerType(); in FormatObject()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/
H A DItaniumABILanguageRuntime.cpp116 lldb::TypeSP type_sp; in GetTypeInfoFromVTableAddress() local
125 if (type_sp) { in GetTypeInfoFromVTableAddress()
134 type_sp->GetID(), type_sp->GetName().GetCString()); in GetTypeInfoFromVTableAddress()
135 type_info.SetTypeSP(type_sp); in GetTypeInfoFromVTableAddress()
143 if (type_sp) { in GetTypeInfoFromVTableAddress()
150 type_sp->GetID(), type_sp->GetName().GetCString()); in GetTypeInfoFromVTableAddress()
157 if (type_sp) { in GetTypeInfoFromVTableAddress()
167 type_sp->GetID(), type_sp->GetName().GetCString()); in GetTypeInfoFromVTableAddress()
168 type_info.SetTypeSP(type_sp); in GetTypeInfoFromVTableAddress()
239 TypeSP type_sp = class_type_or_name.GetTypeSP(); in GetDynamicTypeAndAddress() local
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/DataFormatters/
H A DDataVisualization.h38 GetFormatForType(lldb::TypeNameSpecifierImplSP type_sp);
44 GetSummaryForType(lldb::TypeNameSpecifierImplSP type_sp);
48 GetSyntheticChildrenForType(lldb::TypeNameSpecifierImplSP type_sp);
52 GetFilterForType(lldb::TypeNameSpecifierImplSP type_sp);
56 GetSyntheticForType(lldb::TypeNameSpecifierImplSP type_sp);
68 GetValidatorForType(lldb::TypeNameSpecifierImplSP type_sp);
H A DFormatManager.h120 GetFormatForType(lldb::TypeNameSpecifierImplSP type_sp);
123 GetSummaryForType(lldb::TypeNameSpecifierImplSP type_sp);
126 GetFilterForType(lldb::TypeNameSpecifierImplSP type_sp);
130 GetSyntheticForType(lldb::TypeNameSpecifierImplSP type_sp);
135 GetSyntheticChildrenForType(lldb::TypeNameSpecifierImplSP type_sp);
139 GetValidatorForType(lldb::TypeNameSpecifierImplSP type_sp);
H A DTypeCategory.h283 GetFormatForType(lldb::TypeNameSpecifierImplSP type_sp);
286 GetSummaryForType(lldb::TypeNameSpecifierImplSP type_sp);
289 GetFilterForType(lldb::TypeNameSpecifierImplSP type_sp);
293 GetSyntheticForType(lldb::TypeNameSpecifierImplSP type_sp);
297 GetValidatorForType(lldb::TypeNameSpecifierImplSP type_sp);
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp187 TypeSP type_sp(new Type( in ParseTypeFromDWO() local
203 return type_sp; in ParseTypeFromDWO()
235 TypeSP type_sp; in ParseTypeFromDWARF() local
363 if (type_sp) in ParseTypeFromDWARF()
526 type_sp.reset( in ParseTypeFromDWARF()
734 if (type_sp) in ParseTypeFromDWARF()
750 type_sp = in ParseTypeFromDWARF()
756 if (type_sp) { in ParseTypeFromDWARF()
1029 if (type_sp) in ParseTypeFromDWARF()
1035 type_sp = in ParseTypeFromDWARF()
[all …]
H A DUniqueDWARFASTType.h31 UniqueDWARFASTType(lldb::TypeSP &type_sp, const DWARFDIE &die, in UniqueDWARFASTType() argument
33 : m_type_sp(type_sp), m_die(die), m_declaration(decl), in UniqueDWARFASTType()
H A DSymbolFileDWARFDebugMap.cpp1094 TypeSP type_sp; in FindDefinitionTypeForDWARFDeclContext() local
1096 type_sp = oso_dwarf->FindDefinitionTypeForDWARFDeclContext(die_decl_ctx); in FindDefinitionTypeForDWARFDeclContext()
1097 return ((bool)type_sp); in FindDefinitionTypeForDWARFDeclContext()
1099 return type_sp; in FindDefinitionTypeForDWARFDeclContext()
1128 TypeSP type_sp; in FindCompleteObjCDefinitionTypeForDIE() local
1154 if (type_sp) { in FindCompleteObjCDefinitionTypeForDIE()
1155 return type_sp; in FindCompleteObjCDefinitionTypeForDIE()
1169 TypeSP type_sp; in FindCompleteObjCDefinitionTypeForDIE() local
1172 type_sp = oso_dwarf->FindCompleteObjCDefinitionTypeForDIE( in FindCompleteObjCDefinitionTypeForDIE()
1174 return (bool)type_sp; in FindCompleteObjCDefinitionTypeForDIE()
[all …]
H A DSymbolFileDWARF.cpp2646 TypeSP type_sp; in GetTypeForDIE() local
2670 return type_sp; in GetTypeForDIE()
2777 TypeSP type_sp; in FindCompleteObjCDefinitionTypeForDIE() local
2780 return type_sp; in FindCompleteObjCDefinitionTypeForDIE()
2837 return type_sp; in FindCompleteObjCDefinitionTypeForDIE()
2933 TypeSP type_sp; in FindDefinitionTypeForDWARFDeclContext() local
3049 return type_sp; in FindDefinitionTypeForDWARFDeclContext()
3054 TypeSP type_sp; in ParseType() local
3065 if (type_sp) { in ParseType()
3094 return type_sp; in ParseType()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Core/
H A DValueObjectMemory.cpp35 lldb::TypeSP &type_sp) { in Create() argument
36 return (new ValueObjectMemory(exe_scope, name, address, type_sp))->GetSP(); in Create()
49 lldb::TypeSP &type_sp) in ValueObjectMemory() argument
50 : ValueObject(exe_scope), m_address(address), m_type_sp(type_sp), in ValueObjectMemory()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Target/
H A DObjCLanguageRuntime.cpp122 TypeSP type_sp(types.GetTypeAtIndex(i)); in LookupInCompleteClassCache() local
125 type_sp->GetForwardCompilerType())) { in LookupInCompleteClassCache()
126 if (type_sp->IsCompleteObjCClass()) { in LookupInCompleteClassCache()
127 m_complete_class_cache[name] = type_sp; in LookupInCompleteClassCache()
128 return type_sp; in LookupInCompleteClassCache()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Core/
H A DValueObjectMemory.h42 lldb::TypeSP &type_sp);
74 const Address &address, lldb::TypeSP &type_sp);
/freebsd-12.1/contrib/llvm/tools/lldb/source/API/
H A DSBValue.cpp487 TypeImplSP type_sp; in GetType() local
489 type_sp.reset(new TypeImpl(value_sp->GetTypeImpl())); in GetType()
490 sb_type.SetSP(type_sp); in GetType()
493 if (type_sp) in GetType()
496 static_cast<void *>(type_sp.get())); in GetType()
677 TypeImplSP type_sp(type.GetSP()); in CreateChildAtOffset() local
680 offset, type_sp->GetCompilerType(false), true), in CreateChildAtOffset()
701 TypeImplSP type_sp(type.GetSP()); in Cast() local
702 if (value_sp && type_sp) in Cast()
703 sb_value.SetSP(value_sp->Cast(type_sp->GetCompilerType(false)), in Cast()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Target/
H A DObjCLanguageRuntime.h117 void SetType(const lldb::TypeSP &type_sp) { m_type_wp = type_sp; } in SetType() argument
231 lldb::TypeSP type_sp);
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/NativePDB/
H A DSymbolFileNativePDB.cpp776 SymbolFileTypeSP type_sp = in CreateGlobalVariable() local
788 toOpaqueUid(var_id), name.str().c_str(), global_name.c_str(), type_sp, in CreateGlobalVariable()
806 SymbolFileTypeSP type_sp = in CreateConstantSymbol() local
817 type_sp, eValueTypeVariableGlobal, module.get(), ranges, &decl, location, in CreateConstantSymbol()
1325 TypeSP type_sp = GetOrCreateType(var_info.type); in CreateLocalVariable() local
1329 std::make_shared<SymbolFileType>(*this, type_sp->GetID()); in CreateLocalVariable()
1527 TypeSP type_sp = CreateAndCacheType(type_id); in ResolveTypeUID() local
1528 return &*type_sp; in ResolveTypeUID()

12