Lines Matching defs:SymbolFileDWARF
1 //===-- SymbolFileDWARF.cpp ------------------------------------*- C++ -*-===//
10 #include "SymbolFileDWARF.h"
125 void LogDIEs (Log *log, SymbolFileDWARF *dwarf)
194 SymbolFileDWARF::Initialize()
203 SymbolFileDWARF::Terminate()
211 SymbolFileDWARF::GetPluginNameStatic()
218 SymbolFileDWARF::GetPluginDescriptionStatic()
225 SymbolFileDWARF::CreateInstance (ObjectFile* obj_file)
227 return new SymbolFileDWARF(obj_file);
231 SymbolFileDWARF::GetTypeList ()
239 SymbolFileDWARF::GetTypes (DWARFCompileUnit* cu,
303 SymbolFileDWARF::GetTypes (SymbolContextScope *sc_scope,
451 SymbolFileDWARF::SymbolFileDWARF(ObjectFile* objfile) :
493 SymbolFileDWARF::~SymbolFileDWARF()
511 SymbolFileDWARF::GetUniqueDWARFASTTypeMap ()
519 SymbolFileDWARF::GetClangASTContext ()
529 new ClangExternalASTSourceCallbacks (SymbolFileDWARF::CompleteTagDecl,
530 SymbolFileDWARF::CompleteObjCInterfaceDecl,
531 SymbolFileDWARF::FindExternalVisibleDeclsByName,
532 SymbolFileDWARF::LayoutRecordType,
540 SymbolFileDWARF::InitializeObject()
596 SymbolFileDWARF::SupportedVersion(uint16_t version)
602 SymbolFileDWARF::CalculateAbilities ()
703 SymbolFileDWARF::GetCachedSectionData (uint32_t got_flag, SectionType sect_type, DataExtractor &data)
732 SymbolFileDWARF::get_debug_abbrev_data()
738 SymbolFileDWARF::get_debug_aranges_data()
744 SymbolFileDWARF::get_debug_frame_data()
750 SymbolFileDWARF::get_debug_info_data()
756 SymbolFileDWARF::get_debug_line_data()
762 SymbolFileDWARF::get_debug_loc_data()
768 SymbolFileDWARF::get_debug_ranges_data()
774 SymbolFileDWARF::get_debug_str_data()
780 SymbolFileDWARF::get_apple_names_data()
786 SymbolFileDWARF::get_apple_types_data()
792 SymbolFileDWARF::get_apple_namespaces_data()
798 SymbolFileDWARF::get_apple_objc_data()
805 SymbolFileDWARF::DebugAbbrev()
821 SymbolFileDWARF::DebugAbbrev() const
828 SymbolFileDWARF::DebugInfo()
846 SymbolFileDWARF::DebugInfo() const
852 SymbolFileDWARF::GetDWARFCompileUnit(lldb_private::CompileUnit *comp_unit)
878 SymbolFileDWARF::DebugRanges()
894 SymbolFileDWARF::DebugRanges() const
900 SymbolFileDWARF::ParseCompileUnit (DWARFCompileUnit* dwarf_cu, uint32_t cu_idx)
981 SymbolFileDWARF::GetNumCompileUnits()
990 SymbolFileDWARF::ParseCompileUnitAtIndex(uint32_t cu_idx)
1021 SymbolFileDWARF::ParseCompileUnitFunction (const SymbolContext& sc, DWARFCompileUnit* dwarf_cu, const DWARFDebugInfoEntry *die)
1108 SymbolFileDWARF::FixupAddress (Address &addr)
1119 SymbolFileDWARF::ParseCompileUnitLanguage (const SymbolContext& sc)
1137 SymbolFileDWARF::ParseCompileUnitFunctions(const SymbolContext &sc)
1162 SymbolFileDWARF::ParseCompileUnitSupportFiles (const SymbolContext& sc, FileSpecList& support_files)
1238 SymbolFileDWARF::ParseCompileUnitLineTable (const SymbolContext &sc)
1281 SymbolFileDWARF::ParseFunctionBlocks
1407 SymbolFileDWARF::ParseTemplateDIE (DWARFCompileUnit* dwarf_cu,
1509 SymbolFileDWARF::ParseTemplateParameterInfos (DWARFCompileUnit* dwarf_cu,
1541 SymbolFileDWARF::ParseClassTemplateDecl (clang::DeclContext *decl_ctx,
1562 class SymbolFileDWARF::DelayedAddObjCClassProperty
1656 SymbolFileDWARF::ClassOrStructIsVirtual (DWARFCompileUnit* dwarf_cu,
1685 SymbolFileDWARF::ParseChildMembers
2240 SymbolFileDWARF::GetClangDeclContextContainingTypeUID (lldb::user_id_t type_uid)
2254 SymbolFileDWARF::GetClangDeclContextForTypeUID (const lldb_private::SymbolContext &sc, lldb::user_id_t type_uid)
2262 SymbolFileDWARF::ResolveTypeUID (lldb::user_id_t type_uid)
2279 SymbolFileDWARF::ResolveTypeUID (DWARFCompileUnit* cu, const DWARFDebugInfoEntry* die, bool assert_not_being_parsed)
2286 "SymbolFileDWARF::ResolveTypeUID (die = 0x%8.8x) %s '%s'",
2304 "SymbolFileDWARF::ResolveTypeUID (die = 0x%8.8x) %s '%s' resolve parent forward type for 0x%8.8x",
2315 // "SymbolFileDWARF::ResolveTypeUID (die = 0x%8.8x) %s '%s' resolve parent full type for 0x%8.8x since die is a function",
2338 // SymbolFileDWARF objects to detect if this DWARF file is the one that
2341 SymbolFileDWARF::HasForwardDeclForClangType (const ClangASTType &clang_type)
2350 SymbolFileDWARF::ResolveClangOpaqueTypeDefinition (ClangASTType &clang_type)
2362 // The type will get resolved when all of the calls to SymbolFileDWARF::ResolveClangOpaqueTypeDefinition
2571 "SymbolFileDWARF::ResolveClangOpaqueTypeDefinition (clang_type = %p) caching layout info for record_decl = %p, bit_size = %" PRIu64 ", alignment = %" PRIu64 ", field_offsets[%u], base_offsets[%u], vbase_offsets[%u])",
2586 "SymbolFileDWARF::ResolveClangOpaqueTypeDefinition (clang_type = %p) field[%u] = { bit_offset=%u, name='%s' }",
2599 "SymbolFileDWARF::ResolveClangOpaqueTypeDefinition (clang_type = %p) base[%u] = { byte_offset=%u, name='%s' }",
2611 "SymbolFileDWARF::ResolveClangOpaqueTypeDefinition (clang_type = %p) vbase[%u] = { byte_offset=%u, name='%s' }",
2646 SymbolFileDWARF::ResolveType (DWARFCompileUnit* dwarf_cu, const DWARFDebugInfoEntry* type_die, bool assert_not_being_parsed)
2673 SymbolFileDWARF::GetCompUnitForDWARFCompUnit (DWARFCompileUnit* dwarf_cu, uint32_t cu_idx)
2686 SymbolFileDWARF::GetFunction (DWARFCompileUnit* dwarf_cu, const DWARFDebugInfoEntry* func_die, SymbolContext& sc)
2706 SymbolFileDWARF::ResolveSymbolContext (const Address& so_addr, uint32_t resolve_scope, SymbolContext& sc)
2709 "SymbolFileDWARF::ResolveSymbolContext (so_addr = { section = %p, offset = 0x%" PRIx64 " }, resolve_scope = 0x%8.8x)",
2834 SymbolFileDWARF::ResolveSymbolContext(const FileSpec& file_spec, uint32_t line, bool check_inlines, uint32_t resolve_scope, SymbolContextList& sc_list)
2946 SymbolFileDWARF::Index ()
2952 "SymbolFileDWARF::Index (%s)",
3008 SymbolFileDWARF::NamespaceDeclMatchesThisSymbolFile (const ClangNamespaceDecl *namespace_decl)
3037 SymbolFileDWARF::DIEIsInNamespace (const ClangNamespaceDecl *namespace_decl,
3084 SymbolFileDWARF::FindGlobalVariables (const ConstString &name, const lldb_private::ClangNamespaceDecl *namespace_decl, bool append, uint32_t max_matches, VariableList& variables)
3091 "SymbolFileDWARF::FindGlobalVariables (name=\"%s\", namespace_decl=%p, append=%u, max_matches=%u, variables)",
3196 "SymbolFileDWARF::FindGlobalVariables (name=\"%s\", namespace_decl=%p, append=%u, max_matches=%u, variables) => %u",
3207 SymbolFileDWARF::FindGlobalVariables(const RegularExpression& regex, bool append, uint32_t max_matches, VariableList& variables)
3214 "SymbolFileDWARF::FindGlobalVariables (regex=\"%s\", append=%u, max_matches=%u, variables)",
3293 SymbolFileDWARF::ResolveFunction (dw_offset_t die_offset,
3303 SymbolFileDWARF::ResolveFunction (DWARFCompileUnit *cu,
3356 SymbolFileDWARF::FindFunctions (const ConstString &name,
3369 SymbolFileDWARF::FindFunctions (const RegularExpression ®ex,
3382 SymbolFileDWARF::FindFunctions (const RegularExpression ®ex,
3396 SymbolFileDWARF::ParseFunctions (const DIEArray &die_offsets,
3414 SymbolFileDWARF::FunctionDieMatchesPartialName (const DWARFDebugInfoEntry* die,
3526 SymbolFileDWARF::FindFunctions (const ConstString &name,
3534 "SymbolFileDWARF::FindFunctions (name = '%s')",
3545 "SymbolFileDWARF::FindFunctions (name=\"%s\", name_type_mask=0x%x, append=%u, sc_list)",
3837 "SymbolFileDWARF::FindFunctions (name=\"%s\", name_type_mask=0x%x, append=%u, sc_list) => %u",
3847 SymbolFileDWARF
3850 "SymbolFileDWARF::FindFunctions (regex = '%s')",
3858 "SymbolFileDWARF::FindFunctions (regex=\"%s\", append=%u, sc_list)",
3893 SymbolFileDWARF::FindTypes (const SymbolContext& sc,
3911 "SymbolFileDWARF::FindTypes (sc, name=\"%s\", clang::NamespaceDecl(%p) \"%s\", append=%u, max_matches=%u, type_list)",
3921 "SymbolFileDWARF::FindTypes (sc, name=\"%s\", clang::NamespaceDecl(NULL), append=%u, max_matches=%u, type_list)",
3996 "SymbolFileDWARF::FindTypes (sc, name=\"%s\", clang::NamespaceDecl(%p) \"%s\", append=%u, max_matches=%u, type_list) => %u",
4007 "SymbolFileDWARF::FindTypes (sc, name=\"%s\", clang::NamespaceDecl(NULL), append=%u, max_matches=%u, type_list) => %u",
4021 SymbolFileDWARF::FindNamespace (const SymbolContext& sc,
4030 "SymbolFileDWARF::FindNamespace (sc, name=\"%s\")",
4100 "SymbolFileDWARF::FindNamespace (sc, name=\"%s\") => clang::NamespaceDecl(%p) \"%s\"",
4110 SymbolFileDWARF::FindTypes(std::vector<dw_offset_t> die_offsets, uint32_t max_matches, TypeList& types)
4139 SymbolFileDWARF::ParseChildParameters (const SymbolContext& sc,
4309 SymbolFileDWARF::ParseChildEnumerators
4388 SymbolFileDWARF::ParseChildArrayInfo
4484 SymbolFileDWARF::GetTypeForDIE (DWARFCompileUnit *dwarf_cu, const DWARFDebugInfoEntry* die)
4509 SymbolFileDWARF::GetClangDeclContextContainingDIEOffset (dw_offset_t die_offset)
4521 SymbolFileDWARF::GetClangDeclContextForDIEOffset (const SymbolContext &sc, dw_offset_t die_offset)
4538 SymbolFileDWARF::ResolveNamespaceDIE (DWARFCompileUnit *dwarf_cu, const DWARFDebugInfoEntry *die)
4585 SymbolFileDWARF::GetClangDeclContextForDIE (const SymbolContext &sc, DWARFCompileUnit *cu, const DWARFDebugInfoEntry *die)
4602 GetObjectFile()->GetModule()->LogMessage(log, "SymbolFileDWARF::GetClangDeclContextForDIE (die = 0x%8.8x) %s '%s'", die->GetOffset(), DW_TAG_value_to_name(die->Tag()), die->GetName(this, cu));
4613 SymbolFileDWARF::GetClangDeclContextContainingDIE (DWARFCompileUnit *cu, const DWARFDebugInfoEntry *die, const DWARFDebugInfoEntry **decl_ctx_die_copy)
4666 SymbolFileDWARF::GetDeclContextDIEContainingDIE (DWARFCompileUnit *cu, const DWARFDebugInfoEntry *die)
4721 SymbolFileDWARF::GetObjCClassSymbol (const ConstString &objc_class_name)
4744 SymbolFileDWARF::Supports_DW_AT_APPLE_objc_complete_type (DWARFCompileUnit *cu)
4774 SymbolFileDWARF::FindCompleteObjCDefinitionTypeForDIE (const DWARFDebugInfoEntry *die,
4885 SymbolFileDWARF::DIEDeclContextsMatch (DWARFCompileUnit* cu1, const DWARFDebugInfoEntry *die1,
4893 // two different SymbolFileDWARF instances.
4978 // "cu" and "die" must be from this SymbolFileDWARF
4980 SymbolFileDWARF::FindDefinitionTypeForDIE (DWARFCompileUnit* cu,
4988 // another SymbolFileDWARF instance.
5002 "SymbolFileDWARF::FindDefinitionTypeForDIE(die=0x%8.8x (%s), name='%s')",
5105 "SymbolFileDWARF::FindDefinitionTypeForDIE(die=0x%8.8x, name='%s') trying die=0x%8.8x (%s)",
5138 "SymbolFileDWARF::FindDefinitionTypeForDIE(die=0x%8.8x, name='%s') ignoring die=0x%8.8x (%s)",
5161 SymbolFileDWARF::FindDefinitionTypeForDWARFDeclContext (const DWARFDeclContext &dwarf_decl_ctx)
5177 "SymbolFileDWARF::FindDefinitionTypeForDWARFDeclContext(tag=%s, qualified-name='%s')",
5274 "SymbolFileDWARF::FindDefinitionTypeForDWARFDeclContext(tag=%s, qualified-name='%s') trying die=0x%8.8x (%s)",
5299 "SymbolFileDWARF::FindDefinitionTypeForDWARFDeclContext(tag=%s, qualified-name='%s') ignoring die=0x%8.8x (%s)",
5324 SymbolFileDWARF::CopyUniqueClassMethodTypes (SymbolFileDWARF *src_symfile,
5612 SymbolFileDWARF::ParseType (const SymbolContext& sc, DWARFCompileUnit* dwarf_cu, const DWARFDebugInfoEntry *die, bool *type_is_new_ptr)
5633 GetObjectFile()->GetModule()->LogMessage (log, "SymbolFileDWARF::ParseType (die = 0x%8.8x, decl_ctx = %p (die 0x%8.8x)) %s name = '%s')",
5651 // GetObjectFile()->GetModule()->LogMessage (log, "SymbolFileDwarf::%s %s", __FUNCTION__, s.GetData());
5783 GetObjectFile()->GetModule()->LogMessage (log, "SymbolFileDWARF::ParseType (die = 0x%8.8x) %s '%s' is Objective C 'id' built-in type.",
5796 GetObjectFile()->GetModule()->LogMessage (log, "SymbolFileDWARF::ParseType (die = 0x%8.8x) %s '%s' is Objective C 'Class' built-in type.",
5808 GetObjectFile()->GetModule()->LogMessage (log, "SymbolFileDWARF::ParseType (die = 0x%8.8x) %s '%s' is Objective C 'selector' built-in type.",
5831 GetObjectFile()->GetModule()->LogMessage (log, "SymbolFileDWARF::ParseType (die = 0x%8.8x) %s '%s' is 'objc_object*', which we overrode to 'id'.",
6041 "SymbolFileDWARF(%p) - 0x%8.8x: %s type \"%s\" is an incomplete objc type, complete type is 0x%8.8" PRIx64,
6069 "SymbolFileDWARF(%p) - 0x%8.8x: %s type \"%s\" is a forward declaration, trying to find complete type",
6095 "SymbolFileDWARF(%p) - 0x%8.8x: %s type \"%s\" is a forward declaration, complete type is 0x%8.8" PRIx64,
6240 // "SymbolFileDWARF::ResolveClangOpaqueTypeDefinition(Type *)"
6586 SymbolFileDWARF *class_symfile = NULL;
6697 Host::SetCrashDescriptionWithFormat ("SymbolFileDWARF::ParseType() is adding a method %s to class %s in DIE 0x%8.8" PRIx64 " from %s",
7022 SymbolFileDWARF::ParseTypes
7063 SymbolFileDWARF::ParseFunctionBlocks (const SymbolContext &sc)
7083 SymbolFileDWARF::ParseTypes (const SymbolContext &sc)
7114 SymbolFileDWARF::ParseVariablesForContext (const SymbolContext& sc)
7220 SymbolFileDWARF::ParseVariableDIE
7535 SymbolFileDWARF::FindBlockContainingSpecification (dw_offset_t func_die_offset,
7555 SymbolFileDWARF::FindBlockContainingSpecification(DWARFCompileUnit* dwarf_cu,
7602 SymbolFileDWARF::ParseVariables
7739 SymbolFileDWARF::GetPluginName()
7745 SymbolFileDWARF::GetPluginVersion()
7751 SymbolFileDWARF::CompleteTagDecl (void *baton, clang::TagDecl *decl)
7753 SymbolFileDWARF *symbol_file_dwarf = (SymbolFileDWARF *)baton;
7760 SymbolFileDWARF::CompleteObjCInterfaceDecl (void *baton, clang::ObjCInterfaceDecl *decl)
7762 SymbolFileDWARF *symbol_file_dwarf = (SymbolFileDWARF *)baton;
7769 SymbolFileDWARF::DumpIndexes ()
7787 SymbolFileDWARF::SearchDeclContext (const clang::DeclContext *decl_context,
7855 SymbolFileDWARF::FindExternalVisibleDeclsByName (void *baton,
7866 SymbolFileDWARF *symbol_file_dwarf = (SymbolFileDWARF *)baton;
7876 SymbolFileDWARF::LayoutRecordType (void *baton,
7884 SymbolFileDWARF *symbol_file_dwarf = (SymbolFileDWARF *)baton;
7890 SymbolFileDWARF::LayoutRecordType (const clang::RecordDecl *record_decl,
7921 "SymbolFileDWARF::LayoutRecordType (record_decl = %p, bit_size = %" PRIu64 ", alignment = %" PRIu64 ", field_offsets[%u],base_offsets[%u], vbase_offsets[%u]) success = %i",
7934 SymbolFileDWARF::GetDebugMapSymfile ()