Home
last modified time | relevance | path

Searched refs:DWARFDie (Results 1 – 20 of 20) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDie.h43 class DWARFDie {
48 DWARFDie() = default;
49 DWARFDie(DWARFUnit *Unit, const DWARFDebugInfoEntry *D) : U(Unit), Die(D) {} in DWARFDie() function
97 DWARFDie getParent() const;
103 DWARFDie getSibling() const;
109 DWARFDie getPreviousSibling() const;
115 DWARFDie getFirstChild() const;
121 DWARFDie getLastChild() const;
182 DWARFDie getAttributeValueAsReferencedDie(dwarf::Attribute Attr) const;
282 class DWARFDie::attribute_iterator
[all …]
DDWARFUnit.h288 std::map<uint64_t, std::pair<uint64_t, DWARFDie>> AddrDieMap;
358 void updateAddressDieMap(DWARFDie Die);
438 DWARFDie getUnitDIE(bool ExtractUnitDIEOnly = true) {
441 return DWARFDie();
442 return DWARFDie(this, &DieArray[0]);
475 DWARFDie getSubroutineForAddress(uint64_t Address);
481 SmallVectorImpl<DWARFDie> &InlinedChain);
499 uint32_t getDIEIndex(const DWARFDie &D) { in getDIEIndex()
504 DWARFDie getDIEAtIndex(unsigned Index) { in getDIEAtIndex()
506 return DWARFDie(this, &DieArray[Index]); in getDIEAtIndex()
[all …]
DDWARFVerifier.h26 class DWARFDie; variable
39 DWARFDie Die;
48 DieRangeInfo(DWARFDie Die) : Die(Die) {} in DieRangeInfo()
163 unsigned verifyDieRanges(const DWARFDie &Die, DieRangeInfo &ParentRI);
176 unsigned verifyDebugInfoAttribute(const DWARFDie &Die,
191 unsigned verifyDebugInfoForm(const DWARFDie &Die, DWARFAttribute &AttrValue);
246 unsigned verifyNameIndexCompleteness(const DWARFDie &Die,
DDWARFContext.h212 DWARFDie getDIEForOffset(uint32_t Offset);
284 DWARFDie FunctionDIE;
285 DWARFDie BlockDIE;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFDie.cpp138 static void dumpTypeName(raw_ostream &OS, const DWARFDie &Die) { in dumpTypeName()
139 DWARFDie D = Die.getAttributeValueAsReferencedDie(DW_AT_type); in dumpTypeName()
187 static void dumpAttribute(raw_ostream &OS, const DWARFDie &Die, in dumpAttribute()
284 bool DWARFDie::isSubprogramDIE() const { return getTag() == DW_TAG_subprogram; } in isSubprogramDIE()
286 bool DWARFDie::isSubroutineDIE() const { in isSubroutineDIE()
291 Optional<DWARFFormValue> DWARFDie::find(dwarf::Attribute Attr) const { in find()
301 DWARFDie::find(ArrayRef<dwarf::Attribute> Attrs) const { in find()
315 DWARFDie::findRecursively(ArrayRef<dwarf::Attribute> Attrs) const { in findRecursively()
316 std::vector<DWARFDie> Worklist; in findRecursively()
323 SmallSet<DWARFDie, 3> Seen; in findRecursively()
[all …]
DDWARFUnit.cpp274 DWARFDie UnitDie = getUnitDIE(); in extractDIEsIfNeeded()
349 DWARFDie UnitDie = getUnitDIE(); in parseDWO()
438 DWARFDie UnitDie = getUnitDIE(); in collectAddressRanges()
475 void DWARFUnit::updateAddressDieMap(DWARFDie Die) { in updateAddressDieMap()
502 for (DWARFDie Child = Die.getFirstChild(); Child; Child = Child.getSibling()) in updateAddressDieMap()
506 DWARFDie DWARFUnit::getSubroutineForAddress(uint64_t Address) { in getSubroutineForAddress()
512 return DWARFDie(); in getSubroutineForAddress()
516 return DWARFDie(); in getSubroutineForAddress()
522 SmallVectorImpl<DWARFDie> &InlinedChain) { in getInlinedChainForAddress()
528 DWARFDie SubroutineDIE = in getInlinedChainForAddress()
[all …]
DDWARFTypeUnit.cpp22 DWARFDie TD = getDIEForOffset(getTypeOffset() + getOffset()); in dump()
44 if (DWARFDie TU = getUnitDIE(false)) in dump()
DDWARFVerifier.cpp187 DWARFDie Die = Unit.getUnitDIE(/* ExtractUnitDIEOnly = */ false); in verifyUnitContents()
320 unsigned DWARFVerifier::verifyDieRanges(const DWARFDie &Die, in verifyDieRanges()
379 for (DWARFDie Child : Die) in verifyDieRanges()
385 unsigned DWARFVerifier::verifyDebugInfoAttribute(const DWARFDie &Die, in verifyDebugInfoAttribute()
448 unsigned DWARFVerifier::verifyDebugInfoForm(const DWARFDie &Die, in verifyDebugInfoForm()
542 std::map<uint64_t, DWARFDie> StmtListToDie; in verifyDebugLineStmtOffsets()
1051 static SmallVector<StringRef, 2> getNames(const DWARFDie &DIE) { in getNames()
1099 DWARFDie DIE = DCtx.getDIEForOffset(DIEOffset); in verifyNameIndexEntries()
1150 static bool isVariableIndexable(const DWARFDie &Die, DWARFContext &DCtx) { in isVariableIndexable()
1186 const DWARFDie &Die, const DWARFDebugNames::NameIndex &NI) { in verifyNameIndexCompleteness()
[all …]
DDWARFCompileUnit.cpp30 if (DWARFDie CUDie = getUnitDIE(false)) in dump()
DCMakeLists.txt20 DWARFDie.cpp
DDWARFContext.cpp615 DWARFDie DWARFContext::getDIEForOffset(uint32_t Offset) { in getDIEForOffset()
619 return DWARFDie(); in getDIEForOffset()
894 std::vector<DWARFDie> Worklist; in getDIEsForAddress()
897 DWARFDie DIE = Worklist.back(); in getDIEsForAddress()
921 SmallVector<DWARFDie, 4> InlinedChain; in getFunctionNameAndStartLineForAddress()
926 const DWARFDie &DIE = InlinedChain[0]; in getFunctionNameAndStartLineForAddress()
1015 SmallVector<DWARFDie, 4> InlinedChain; in getInliningInfoForAddress()
1033 DWARFDie &FunctionDIE = InlinedChain[i]; in getInliningInfoForAddress()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DDwarfLinker.h67 const DWARFDie *DIE = nullptr) const;
187 const UnitListTy &Units, const DWARFDie &DIE,
197 bool registerModuleReference(const DWARFDie &CUDie, const DWARFUnit &Unit,
228 const UnitListTy &Units, const DWARFDie &DIE,
234 const DWARFDie &DIE, const DebugMapObject &DMO,
239 const DWARFDie &DIE, CompileUnit &Unit,
243 RangesTy &Ranges, const DWARFDie &DIE,
285 DIE *cloneDIE(const DWARFDie &InputDIE, const DebugMapObject &DMO,
332 unsigned cloneAttribute(DIE &Die, const DWARFDie &InputDIE,
350 unsigned cloneDieReferenceAttribute(DIE &Die, const DWARFDie &InputDIE,
[all …]
DDeclContext.h83 DWARFDie LastSeenDIE = DWARFDie(), unsigned CUId = 0)
90 bool setLastSeenDIE(CompileUnit &U, const DWARFDie &Die);
112 DWARFDie LastSeenDIE;
134 getChildDeclContext(DeclContext &Context, const DWARFDie &DIE,
DDwarfLinker.cpp121 static DWARFDie resolveDIEReference(const DwarfLinker &Linker, in resolveDIEReference()
125 const DWARFUnit &Unit, const DWARFDie &DIE, in resolveDIEReference()
139 return DWARFDie(); in resolveDIEReference()
158 bool DwarfLinker::DIECloner::getDIENames(const DWARFDie &Die, in getDIENames()
191 const DWARFDie *DIE) const { in reportWarning()
221 static bool analyzeContextInfo(const DWARFDie &DIE, unsigned ParentIdx, in analyzeContextInfo()
535 const DWARFDie &DIE, in shouldKeepVariableDIE()
581 RelocationManager &RelocMgr, RangesTy &Ranges, const DWARFDie &DIE, in shouldKeepSubprogramDIE()
643 RangesTy &Ranges, const DWARFDie &DIE, in shouldKeepDIE()
678 const DWARFDie &Die, CompileUnit::DIEInfo &MyInfo, in keepDIEAndDependencies()
[all …]
DDeclContext.cpp32 bool DeclContext::setLastSeenDIE(CompileUnit &U, const DWARFDie &Die) { in setLastSeenDIE()
46 DeclContext &Context, const DWARFDie &DIE, CompileUnit &U, in getChildDeclContext()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dwarfdump/
DStatistics.cpp36 static uint64_t getLowPC(DWARFDie Die) { in getLowPC()
49 static void collectStatsForDie(DWARFDie Die, std::string Prefix, in collectStatsForDie()
96 if (DWARFDie D = in collectStatsForDie()
118 static void collectStatsRecursive(DWARFDie Die, std::string Prefix, in collectStatsRecursive()
167 DWARFDie Child = Die.getFirstChild(); in collectStatsRecursive()
202 if (DWARFDie CUDie = CU->getUnitDIE(false)) in collectStatsForObjectFile()
Dllvm-dwarfdump.cpp288 DWARFDie Die = {CU.get(), &Entry}; in filterByName()
313 StringRef Name, SmallVectorImpl<DWARFDie> &Dies) { in getDies()
316 if (DWARFDie Die = DICtx.getDIEForOffset(*Off)) in getDies()
322 static DWARFDie toDie(const DWARFDebugNames::Entry &Entry, in toDie()
327 return DWARFDie(); in toDie()
331 return DWARFDie(); in toDie()
337 return DWARFDie(); in toDie()
344 StringRef Name, SmallVectorImpl<DWARFDie> &Dies) { in getDies()
346 if (DWARFDie Die = toDie(Entry, DICtx)) in getDies()
354 SmallVector<DWARFDie, 4> Dies; in filterByAccelName()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/DWARF/
DDWARFDebugInfoTest.cpp1126 EXPECT_THAT(std::vector<DWARFDie>(A.begin(), A.end()), in TEST()
1128 EXPECT_THAT(std::vector<DWARFDie>(A.rbegin(), A.rend()), in TEST()
1181 DWARFDie DefaultDie; in TEST()
1231 DWARFDie A; in TEST()
1232 DWARFDie B; in TEST()
1253 DWARFDie Invalid; in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/
Ddwarf2yaml.cpp141 DWARFDie DIEWrapper(CU.get(), &DIE); in dumpDebugInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dwp/
Dllvm-dwp.cpp479 const DWARFDie &Die = CU->getUnitDIE(); in getDWOFilenames()