/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
D | DWARFDIE.cpp | 26 : public std::iterator<std::input_iterator_tag, DWARFDIE> { 34 llvm::SmallVector<DWARFDIE, 2> m_worklist; 41 DWARFDIE die = m_worklist.back(); in Next() 46 if (DWARFDIE d = die.GetReferencedDIE(attr)) in Next() 54 explicit ElaboratingDIEIterator(DWARFDIE d) : m_worklist(1, d) {} in ElaboratingDIEIterator() 59 const DWARFDIE &operator*() const { return m_worklist.back(); } in operator *() 83 elaborating_dies(const DWARFDIE &die) { in elaborating_dies() 89 DWARFDIE 90 DWARFDIE::GetParent() const { in GetParent() 92 return DWARFDIE(m_cu, m_die->GetParent()); in GetParent() [all …]
|
D | DWARFASTParserClang.h | 45 const DWARFDIE &die, 50 const DWARFDIE &die) override; 53 CompleteTypeFromDWARF(const DWARFDIE &die, lldb_private::Type *type, 57 GetDeclForUIDFromDWARF(const DWARFDIE &die) override; 63 GetDeclContextForUIDFromDWARF(const DWARFDIE &die) override; 66 GetDeclContextContainingUIDFromDWARF(const DWARFDIE &die) override; 79 typedef std::multimap<const clang::DeclContext *, const DWARFDIE> 97 clang::DeclContext *GetDeclContextForBlock(const DWARFDIE &die); 99 clang::BlockDecl *ResolveBlockDIE(const DWARFDIE &die); 101 clang::NamespaceDecl *ResolveNamespaceDIE(const DWARFDIE &die); [all …]
|
D | DWARFIndex.h | 17 class DWARFDIE; variable 32 llvm::function_ref<bool(DWARFDIE die)> callback) = 0; 36 llvm::function_ref<bool(DWARFDIE die)> callback) = 0; 39 llvm::function_ref<bool(DWARFDIE die)> callback) = 0; 42 llvm::function_ref<bool(DWARFDIE die)> callback) = 0; 45 llvm::function_ref<bool(DWARFDIE die)> callback) = 0; 47 llvm::function_ref<bool(DWARFDIE die)> callback) = 0; 49 llvm::function_ref<bool(DWARFDIE die)> callback) = 0; 52 llvm::function_ref<bool(DWARFDIE die)> callback) = 0; 57 llvm::function_ref<bool(DWARFDIE die)> callback) = 0; [all …]
|
D | DWARFDIE.h | 15 class DWARFDIE : public DWARFBaseDIE { 41 lldb_private::Type *ResolveTypeUID(const DWARFDIE &die) const; 45 DWARFDIE 48 DWARFDIE 51 DWARFDIE 54 DWARFDIE 60 DWARFDIE 64 DWARFDIE 67 DWARFDIE 71 std::vector<DWARFDIE> GetDeclContextDIEs() const; [all …]
|
D | SymbolFileDWARF.h | 76 friend class DWARFDIE; variable 145 lldb_private::Type *ResolveType(const DWARFDIE &die, 234 DWARFDIE 235 GetDeclContextDIEContainingDIE(const DWARFDIE &die); 244 llvm::function_ref<bool(DWARFDIE die)> callback); 250 static DWARFDIE GetParentSymbolContextDIE(const DWARFDIE &die); 262 virtual DWARFDIE GetDIE(const DIERef &die_ref); 264 DWARFDIE GetDIE(lldb::user_id_t uid); 287 const DWARFDIE &die); 309 static lldb_private::CompilerDecl GetDecl(const DWARFDIE &die); [all …]
|
D | DWARFASTParser.h | 18 class DWARFDIE; variable 30 const DWARFDIE &die, 35 const DWARFDIE &die) = 0; 38 CompleteTypeFromDWARF(const DWARFDIE &die, lldb_private::Type *type, 42 GetDeclForUIDFromDWARF(const DWARFDIE &die) = 0; 45 GetDeclContextForUIDFromDWARF(const DWARFDIE &die) = 0; 48 GetDeclContextContainingUIDFromDWARF(const DWARFDIE &die) = 0; 54 ParseChildArrayInfo(const DWARFDIE &parent_die,
|
D | DebugNamesDWARFIndex.h | 30 llvm::function_ref<bool(DWARFDIE die)> callback) override; 33 llvm::function_ref<bool(DWARFDIE die)> callback) override; 36 llvm::function_ref<bool(DWARFDIE die)> callback) override; 39 llvm::function_ref<bool(DWARFDIE die)> callback) override {} in GetObjCMethods() 42 llvm::function_ref<bool(DWARFDIE die)> callback) override; 44 llvm::function_ref<bool(DWARFDIE die)> callback) override; 46 llvm::function_ref<bool(DWARFDIE die)> callback) override; 48 llvm::function_ref<bool(DWARFDIE die)> callback) override; 52 llvm::function_ref<bool(DWARFDIE die)> callback) override; 54 llvm::function_ref<bool(DWARFDIE die)> callback) override; [all …]
|
D | ManualDWARFIndex.h | 31 llvm::function_ref<bool(DWARFDIE die)> callback) override; 34 llvm::function_ref<bool(DWARFDIE die)> callback) override; 37 llvm::function_ref<bool(DWARFDIE die)> callback) override; 39 llvm::function_ref<bool(DWARFDIE die)> callback) override; 42 llvm::function_ref<bool(DWARFDIE die)> callback) override; 44 llvm::function_ref<bool(DWARFDIE die)> callback) override; 46 llvm::function_ref<bool(DWARFDIE die)> callback) override; 48 llvm::function_ref<bool(DWARFDIE die)> callback) override; 52 llvm::function_ref<bool(DWARFDIE die)> callback) override; 54 llvm::function_ref<bool(DWARFDIE die)> callback) override;
|
D | AppleDWARFIndex.h | 37 llvm::function_ref<bool(DWARFDIE die)> callback) override; 40 llvm::function_ref<bool(DWARFDIE die)> callback) override; 43 llvm::function_ref<bool(DWARFDIE die)> callback) override; 45 llvm::function_ref<bool(DWARFDIE die)> callback) override; 48 llvm::function_ref<bool(DWARFDIE die)> callback) override; 50 llvm::function_ref<bool(DWARFDIE die)> callback) override; 52 llvm::function_ref<bool(DWARFDIE die)> callback) override; 54 llvm::function_ref<bool(DWARFDIE die)> callback) override; 58 llvm::function_ref<bool(DWARFDIE die)> callback) override; 60 llvm::function_ref<bool(DWARFDIE die)> callback) override;
|
D | DWARFASTParserClang.cpp | 99 static bool IsClangModuleFwdDecl(const DWARFDIE &Die) { in IsClangModuleFwdDecl() 111 static DWARFDIE GetContainingClangModuleDIE(const DWARFDIE &die) { in GetContainingClangModuleDIE() 113 DWARFDIE top_module_die; in GetContainingClangModuleDIE() 116 for (DWARFDIE parent = die.GetParent(); parent.IsValid(); in GetContainingClangModuleDIE() 127 return DWARFDIE(); in GetContainingClangModuleDIE() 130 static lldb::ModuleSP GetContainingClangModule(const DWARFDIE &die) { in GetContainingClangModule() 132 DWARFDIE clang_module_die = GetContainingClangModuleDIE(die); in GetContainingClangModule() 145 const DWARFDIE &die, in ParseTypeFromClangModule() 270 DWARFDIE die, in PrepareContextToReceiveMembers() 302 ParsedDWARFTypeAttributes::ParsedDWARFTypeAttributes(const DWARFDIE &die) { in ParsedDWARFTypeAttributes() [all …]
|
D | AppleDWARFIndex.cpp | 56 ConstString basename, llvm::function_ref<bool(DWARFDIE die)> callback) { in GetGlobalVariables() 66 llvm::function_ref<bool(DWARFDIE die)> callback) { in GetGlobalVariables() 78 const DWARFUnit &cu, llvm::function_ref<bool(DWARFDIE die)> callback) { in GetGlobalVariables() 89 ConstString class_name, llvm::function_ref<bool(DWARFDIE die)> callback) { in GetObjCMethods() 99 llvm::function_ref<bool(DWARFDIE die)> callback) { in GetCompleteObjCClass() 109 ConstString name, llvm::function_ref<bool(DWARFDIE die)> callback) { in GetTypes() 118 llvm::function_ref<bool(DWARFDIE die)> callback) { in GetTypes() 172 ConstString name, llvm::function_ref<bool(DWARFDIE die)> callback) { in GetNamespaces() 182 llvm::function_ref<bool(DWARFDIE die)> callback) { in GetFunctions() 191 llvm::function_ref<bool(DWARFDIE die)> callback) { in GetFunctions()
|
D | DebugNamesDWARFIndex.cpp | 63 llvm::function_ref<bool(DWARFDIE die)> callback, llvm::StringRef name) { in ProcessEntry() 69 DWARFDIE die = dwarf.GetDIE(*ref); in ProcessEntry() 87 ConstString basename, llvm::function_ref<bool(DWARFDIE die)> callback) { in GetGlobalVariables() 102 llvm::function_ref<bool(DWARFDIE die)> callback) { in GetGlobalVariables() 126 const DWARFUnit &cu, llvm::function_ref<bool(DWARFDIE die)> callback) { in GetGlobalVariables() 151 llvm::function_ref<bool(DWARFDIE die)> callback) { in GetCompleteObjCClass() 172 DWARFDIE die = m_debug_info.GetDIE(*ref); in GetCompleteObjCClass() 195 ConstString name, llvm::function_ref<bool(DWARFDIE die)> callback) { in GetTypes() 209 llvm::function_ref<bool(DWARFDIE die)> callback) { in GetTypes() 222 ConstString name, llvm::function_ref<bool(DWARFDIE die)> callback) { in GetNamespaces() [all …]
|
D | SymbolFileDWARF.cpp | 296 void SymbolFileDWARF::GetTypes(const DWARFDIE &die, dw_offset_t min_die_offset, in GetTypes() 360 for (DWARFDIE child_die = die.GetFirstChild(); child_die.IsValid(); in GetTypes() 406 DWARFDIE 407 SymbolFileDWARF::GetParentSymbolContextDIE(const DWARFDIE &child_die) { in GetParentSymbolContextDIE() 408 DWARFDIE die; in GetParentSymbolContextDIE() 423 return DWARFDIE(); in GetParentSymbolContextDIE() 761 const DWARFDIE &die) { in ParseFunction() 845 DWARFDIE die(dwarf_cu, &entry); in ParseFunctions() 974 const DWARFDIE die = dwarf_cu->DIE(); in ParseImportedModules() 978 for (DWARFDIE child_die = die.GetFirstChild(); child_die; in ParseImportedModules() [all …]
|
D | ManualDWARFIndex.cpp | 227 DIERef ref = *DWARFDIE(&unit, &die).GetDIERef(); in IndexUnitImpl() 260 bool is_method = DWARFDIE(&unit, &die).IsMethod(); in IndexUnitImpl() 332 ConstString basename, llvm::function_ref<bool(DWARFDIE die)> callback) { in GetGlobalVariables() 340 llvm::function_ref<bool(DWARFDIE die)> callback) { in GetGlobalVariables() 346 const DWARFUnit &unit, llvm::function_ref<bool(DWARFDIE die)> callback) { in GetGlobalVariables() 352 ConstString class_name, llvm::function_ref<bool(DWARFDIE die)> callback) { in GetObjCMethods() 360 llvm::function_ref<bool(DWARFDIE die)> callback) { in GetCompleteObjCClass() 367 ConstString name, llvm::function_ref<bool(DWARFDIE die)> callback) { in GetTypes() 374 llvm::function_ref<bool(DWARFDIE die)> callback) { in GetTypes() 382 ConstString name, llvm::function_ref<bool(DWARFDIE die)> callback) { in GetNamespaces() [all …]
|
D | DWARFIndex.cpp | 24 llvm::function_ref<bool(DWARFDIE die)> callback) { in ProcessFunctionDIE() 25 DWARFDIE die = dwarf.GetDIE(ref); in ProcessFunctionDIE() 68 const DWARFIndex &index, llvm::function_ref<bool(DWARFDIE die)> callback, in DIERefCallbackImpl() 75 if (DWARFDIE die = m_dwarf.GetDIE(ref)) in operator ()()
|
D | DWARFDebugInfoEntry.cpp | 233 std::vector<DWARFDIE> dies; in GetDIENamesAndRanges() 387 for (const DWARFDIE &die : dies) { in GetDIENamesAndRanges() 439 DWARFDIE spec_die = form_value.Reference(); in GetAttributes() 493 DWARFDIE die = form_value.Reference(); in GetAttributeValue() 503 DWARFDIE die = form_value.Reference(); in GetAttributeValue() 548 DWARFDIE DWARFDebugInfoEntry::GetAttributeValueAsReference( in GetAttributeValueAsReference() 717 DWARFDIE parent_decl_ctx_die = die->GetParentDeclContextDIE(cu); in GetDWARFDeclContextStatic() 732 DWARFDIE 739 DWARFDIE 742 DWARFDIE die(cu, const_cast<DWARFDebugInfoEntry *>(this)); in GetParentDeclContextDIE() [all …]
|
D | UniqueDWARFASTType.h | 28 UniqueDWARFASTType(lldb::TypeSP &type_sp, const DWARFDIE &die, in UniqueDWARFASTType() 50 DWARFDIE m_die; 67 bool Find(const DWARFDIE &die, const lldb_private::Declaration &decl, 86 bool Find(lldb_private::ConstString name, const DWARFDIE &die, in Find()
|
D | UniqueDWARFASTType.cpp | 13 bool UniqueDWARFASTTypeList::Find(const DWARFDIE &die, in Find() 27 DWARFDIE parent_arg_die = die.GetParent(); in Find() 28 DWARFDIE parent_pos_die = udt.m_die.GetParent(); in Find()
|
D | SymbolFileDWARFDwo.h | 35 llvm::function_ref<bool(DWARFDIE die)> callback) override; 40 DWARFDIE 60 const DWARFDIE &die, lldb_private::ConstString type_name,
|
D | SymbolFileDWARFDwo.cpp | 100 llvm::function_ref<bool(DWARFDIE die)> callback) { in GetObjCMethods() 115 const DWARFDIE &die, lldb_private::ConstString type_name, in FindCompleteObjCDefinitionTypeForDIE() 126 DWARFDIE
|
D | DWARFDebugInfo.cpp | 183 DWARFDIE 189 return DWARFDIE(); in GetDIEForDIEOffset() 195 DWARFDIE 200 return DWARFDIE(); // Not found in GetDIE()
|
D | DWARFAttribute.cpp | 44 DWARFDIE 52 DWARFDIE
|
D | DWARFDebugInfoEntry.h | 71 DWARFDIE GetAttributeValueAsReference( 153 DWARFDIE GetParentDeclContextDIE(DWARFUnit *cu) const; 154 DWARFDIE GetParentDeclContextDIE(DWARFUnit *cu,
|
D | DWARFDebugInfo.h | 46 DWARFDIE GetDIEForDIEOffset(DIERef::Section section, 48 DWARFDIE GetDIE(const DIERef &die_ref);
|
/external/llvm-project/lldb/unittests/SymbolFile/DWARF/ |
D | DWARFASTParserClangTests.cpp | 104 std::vector<DWARFDIE> dies = { in TEST_F() 105 DWARFDIE(unit, die_child0), DWARFDIE(unit, die_child1), in TEST_F() 106 DWARFDIE(unit, die_child2), DWARFDIE(unit, die_child3)}; in TEST_F()
|