/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFDie.h | 43 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; 183 DWARFDie getAttributeValueAsReferencedDie(const DWARFFormValue &V) const; [all …]
|
D | DWARFVerifier.h | 26 class DWARFDie; variable 39 DWARFDie Die; 48 DieRangeInfo(DWARFDie Die) : Die(Die) {} in DieRangeInfo() 106 raw_ostream &dump(const DWARFDie &Die, unsigned indent = 0) const; 175 unsigned verifyDebugInfoCallSite(const DWARFDie &Die); 183 unsigned verifyDieRanges(const DWARFDie &Die, DieRangeInfo &ParentRI); 196 unsigned verifyDebugInfoAttribute(const DWARFDie &Die, 211 unsigned verifyDebugInfoForm(const DWARFDie &Die, DWARFAttribute &AttrValue); 266 unsigned verifyNameIndexCompleteness(const DWARFDie &Die,
|
D | DWARFUnit.h | 234 std::map<uint64_t, std::pair<uint64_t, DWARFDie>> AddrDieMap; 305 void updateAddressDieMap(DWARFDie Die); 396 DWARFDie getUnitDIE(bool ExtractUnitDIEOnly = true) { 399 return DWARFDie(); 400 return DWARFDie(this, &DieArray[0]); 403 DWARFDie getNonSkeletonUnitDIE(bool ExtractUnitDIEOnly = true) { 452 DWARFDie getSubroutineForAddress(uint64_t Address); 458 SmallVectorImpl<DWARFDie> &InlinedChain); 476 uint32_t getDIEIndex(const DWARFDie &D) { in getDIEIndex() 481 DWARFDie getDIEAtIndex(unsigned Index) { in getDIEAtIndex() [all …]
|
D | DWARFContext.h | 231 DWARFDie getDIEForOffset(uint64_t Offset); 313 DWARFDie FunctionDIE; 314 DWARFDie BlockDIE; 380 void addLocalsForDie(DWARFCompileUnit *CU, DWARFDie Subprogram, DWARFDie Die,
|
/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFDie.h | 43 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; 183 DWARFDie getAttributeValueAsReferencedDie(const DWARFFormValue &V) const; [all …]
|
D | DWARFUnit.h | 238 std::map<uint64_t, std::pair<uint64_t, DWARFDie>> AddrDieMap; 311 void updateAddressDieMap(DWARFDie Die); 378 DWARFDie getUnitDIE(bool ExtractUnitDIEOnly = true) { 381 return DWARFDie(); 382 return DWARFDie(this, &DieArray[0]); 385 DWARFDie getNonSkeletonUnitDIE(bool ExtractUnitDIEOnly = true) { 423 DWARFDie getSubroutineForAddress(uint64_t Address); 429 SmallVectorImpl<DWARFDie> &InlinedChain); 447 uint32_t getDIEIndex(const DWARFDie &D) { in getDIEIndex() 452 DWARFDie getDIEAtIndex(unsigned Index) { in getDIEAtIndex() [all …]
|
D | DWARFVerifier.h | 37 DWARFDie Die; 46 DieRangeInfo(DWARFDie Die) : Die(Die) {} in DieRangeInfo() 106 raw_ostream &dump(const DWARFDie &Die, unsigned indent = 0) const; 175 unsigned verifyDebugInfoCallSite(const DWARFDie &Die); 183 unsigned verifyDieRanges(const DWARFDie &Die, DieRangeInfo &ParentRI); 196 unsigned verifyDebugInfoAttribute(const DWARFDie &Die, 211 unsigned verifyDebugInfoForm(const DWARFDie &Die, DWARFAttribute &AttrValue); 266 unsigned verifyNameIndexCompleteness(const DWARFDie &Die,
|
D | DWARFContext.h | 251 DWARFDie getDIEForOffset(uint64_t Offset); 342 DWARFDie FunctionDIE; 343 DWARFDie BlockDIE; 425 void addLocalsForDie(DWARFCompileUnit *CU, DWARFDie Subprogram, DWARFDie Die,
|
/external/llvm-project/llvm/lib/DebugInfo/DWARF/ |
D | DWARFDie.cpp | 115 static void dumpArrayType(raw_ostream &OS, const DWARFDie &D) { in dumpArrayType() 116 for (const DWARFDie &C : D.children()) in dumpArrayType() 161 static void dumpTypeName(raw_ostream &OS, const DWARFDie &D) { in dumpTypeName() 186 DWARFDie TypeDie = D.getAttributeValueAsReferencedDie(DW_AT_type); in dumpTypeName() 195 for (const DWARFDie &C : D.children()) { in dumpTypeName() 214 if (DWARFDie Cont = in dumpTypeName() 232 static void dumpAttribute(raw_ostream &OS, const DWARFDie &Die, in dumpAttribute() 337 bool DWARFDie::isSubprogramDIE() const { return getTag() == DW_TAG_subprogram; } in isSubprogramDIE() 339 bool DWARFDie::isSubroutineDIE() const { in isSubroutineDIE() 344 Optional<DWARFFormValue> DWARFDie::find(dwarf::Attribute Attr) const { in find() [all …]
|
D | DWARFUnit.cpp | 429 DWARFDie UnitDie(this, &DieArray[0]); in tryExtractDIEsIfNeeded() 523 DWARFDie UnitDie = getUnitDIE(); in parseDWO() 599 DWARFDie UnitDie = getUnitDIE(); in collectAddressRanges() 636 void DWARFUnit::updateAddressDieMap(DWARFDie Die) { in updateAddressDieMap() 663 for (DWARFDie Child = Die.getFirstChild(); Child; Child = Child.getSibling()) in updateAddressDieMap() 667 DWARFDie DWARFUnit::getSubroutineForAddress(uint64_t Address) { in getSubroutineForAddress() 673 return DWARFDie(); in getSubroutineForAddress() 677 return DWARFDie(); in getSubroutineForAddress() 683 SmallVectorImpl<DWARFDie> &InlinedChain) { in getInlinedChainForAddress() 689 DWARFDie SubroutineDIE = in getInlinedChainForAddress() [all …]
|
D | DWARFTypeUnit.cpp | 21 DWARFDie TD = getDIEForOffset(getTypeOffset() + getOffset()); in dump() 49 if (DWARFDie TU = getUnitDIE(false)) in dump()
|
D | DWARFVerifier.cpp | 187 DWARFDie Die = Unit.getUnitDIE(/* ExtractUnitDIEOnly = */ false); in verifyUnitContents() 222 unsigned DWARFVerifier::verifyDebugInfoCallSite(const DWARFDie &Die) { in verifyDebugInfoCallSite() 226 DWARFDie Curr = Die.getParent(); in verifyDebugInfoCallSite() 371 unsigned DWARFVerifier::verifyDieRanges(const DWARFDie &Die, in verifyDieRanges() 458 for (DWARFDie Child : Die) in verifyDieRanges() 464 unsigned DWARFVerifier::verifyDebugInfoAttribute(const DWARFDie &Die, in verifyDebugInfoAttribute() 543 DWARFDie TypeDie = Die.getAttributeValueAsReferencedDie(DW_AT_type); in verifyDebugInfoAttribute() 589 unsigned DWARFVerifier::verifyDebugInfoForm(const DWARFDie &Die, in verifyDebugInfoForm() 717 std::map<uint64_t, DWARFDie> StmtListToDie; in verifyDebugLineStmtOffsets() 1237 static SmallVector<StringRef, 2> getNames(const DWARFDie &DIE, in getNames() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/ |
D | DWARFDie.cpp | 115 static void dumpArrayType(raw_ostream &OS, const DWARFDie &D) { in dumpArrayType() 117 for (const DWARFDie &C : D.children()) in dumpArrayType() 162 static void dumpTypeName(raw_ostream &OS, const DWARFDie &D) { in dumpTypeName() 187 DWARFDie TypeDie = D.getAttributeValueAsReferencedDie(DW_AT_type); in dumpTypeName() 196 for (const DWARFDie &C : D.children()) { in dumpTypeName() 215 if (DWARFDie Cont = in dumpTypeName() 233 static void dumpAttribute(raw_ostream &OS, const DWARFDie &Die, in dumpAttribute() 327 bool DWARFDie::isSubprogramDIE() const { return getTag() == DW_TAG_subprogram; } in isSubprogramDIE() 329 bool DWARFDie::isSubroutineDIE() const { in isSubroutineDIE() 334 Optional<DWARFFormValue> DWARFDie::find(dwarf::Attribute Attr) const { in find() [all …]
|
D | DWARFUnit.cpp | 455 DWARFDie UnitDie(this, &DieArray[0]); in tryExtractDIEsIfNeeded() 562 DWARFDie UnitDie = getUnitDIE(); in parseDWO() 654 DWARFDie UnitDie = getUnitDIE(); in collectAddressRanges() 691 void DWARFUnit::updateAddressDieMap(DWARFDie Die) { in updateAddressDieMap() 718 for (DWARFDie Child = Die.getFirstChild(); Child; Child = Child.getSibling()) in updateAddressDieMap() 722 DWARFDie DWARFUnit::getSubroutineForAddress(uint64_t Address) { in getSubroutineForAddress() 728 return DWARFDie(); in getSubroutineForAddress() 732 return DWARFDie(); in getSubroutineForAddress() 738 SmallVectorImpl<DWARFDie> &InlinedChain) { in getInlinedChainForAddress() 744 DWARFDie SubroutineDIE = in getInlinedChainForAddress() [all …]
|
D | DWARFTypeUnit.cpp | 21 DWARFDie TD = getDIEForOffset(getTypeOffset() + getOffset()); in dump() 45 if (DWARFDie TU = getUnitDIE(false)) in dump()
|
D | DWARFVerifier.cpp | 178 DWARFDie Die = Unit.getUnitDIE(/* ExtractUnitDIEOnly = */ false); in verifyUnitContents() 213 unsigned DWARFVerifier::verifyDebugInfoCallSite(const DWARFDie &Die) { in verifyDebugInfoCallSite() 217 DWARFDie Curr = Die.getParent(); in verifyDebugInfoCallSite() 362 unsigned DWARFVerifier::verifyDieRanges(const DWARFDie &Die, in verifyDieRanges() 441 for (DWARFDie Child : Die) in verifyDieRanges() 447 unsigned DWARFVerifier::verifyDebugInfoAttribute(const DWARFDie &Die, in verifyDebugInfoAttribute() 519 DWARFDie TypeDie = Die.getAttributeValueAsReferencedDie(DW_AT_type); in verifyDebugInfoAttribute() 532 unsigned DWARFVerifier::verifyDebugInfoForm(const DWARFDie &Die, in verifyDebugInfoForm() 660 std::map<uint64_t, DWARFDie> StmtListToDie; in verifyDebugLineStmtOffsets() 1180 static SmallVector<StringRef, 2> getNames(const DWARFDie &DIE, in getNames() [all …]
|
D | DWARFContext.cpp | 677 DWARFDie DWARFContext::getDIEForOffset(uint64_t Offset) { in getDIEForOffset() 681 return DWARFDie(); in getDIEForOffset() 952 std::vector<DWARFDie> Worklist; in getDIEsForAddress() 955 DWARFDie DIE = Worklist.back(); in getDIEsForAddress() 984 SmallVector<DWARFDie, 4> InlinedChain; in getFunctionNameAndStartLineForAddress() 989 const DWARFDie &DIE = InlinedChain[0]; in getFunctionNameAndStartLineForAddress() 1004 static Optional<uint64_t> getTypeSize(DWARFDie Type, uint64_t PointerSize) { in getTypeSize() 1015 if (DWARFDie BaseType = Type.getAttributeValueAsReferencedDie(DW_AT_type)) in getTypeSize() 1024 if (DWARFDie BaseType = Type.getAttributeValueAsReferencedDie(DW_AT_type)) in getTypeSize() 1029 DWARFDie BaseType = Type.getAttributeValueAsReferencedDie(DW_AT_type); in getTypeSize() [all …]
|
/external/llvm-project/llvm/lib/DebugInfo/GSYM/ |
D | DwarfTransformer.cpp | 40 DWARFDie Die = CU->getUnitDIE(); in CUInfo() 85 static DWARFDie GetParentDeclContextDIE(DWARFDie &Die) { in GetParentDeclContextDIE() 86 if (DWARFDie SpecDie = in GetParentDeclContextDIE() 88 if (DWARFDie SpecParent = GetParentDeclContextDIE(SpecDie)) in GetParentDeclContextDIE() 91 if (DWARFDie AbstDie = in GetParentDeclContextDIE() 93 if (DWARFDie AbstParent = GetParentDeclContextDIE(AbstDie)) in GetParentDeclContextDIE() 101 return DWARFDie(); in GetParentDeclContextDIE() 103 DWARFDie ParentDie = Die.getParent(); in GetParentDeclContextDIE() 105 return DWARFDie(); in GetParentDeclContextDIE() 120 return DWARFDie(); in GetParentDeclContextDIE() [all …]
|
/external/llvm-project/llvm/include/llvm/DWARFLinker/ |
D | DWARFLinker.h | 223 const DWARFDie *DIE)> 356 DWARFDie Die; 365 WorklistItem(DWARFDie Die, CompileUnit &CU, unsigned Flags, 369 WorklistItem(DWARFDie Die, CompileUnit &CU, WorklistItemType T, 382 const DWARFDie *DIE = nullptr) const { 388 const DWARFDie *DIE = nullptr) const { 435 void lookForChildDIEsToKeep(const DWARFDie &Die, CompileUnit &CU, 441 void lookForRefDIEsToKeep(const DWARFDie &Die, CompileUnit &CU, 454 const UnitListTy &Units, const DWARFDie &DIE, 464 bool registerModuleReference(DWARFDie CUDie, const DWARFUnit &Unit, [all …]
|
D | DWARFLinkerDeclContext.h | 82 DWARFDie LastSeenDIE = DWARFDie(), unsigned CUId = 0) 89 bool setLastSeenDIE(CompileUnit &U, const DWARFDie &Die); 111 DWARFDie LastSeenDIE; 133 getChildDeclContext(DeclContext &Context, const DWARFDie &DIE,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DWARFLinker/ |
D | DWARFLinkerDeclContext.h | 81 DWARFDie LastSeenDIE = DWARFDie(), unsigned CUId = 0) 88 bool setLastSeenDIE(CompileUnit &U, const DWARFDie &Die); 110 DWARFDie LastSeenDIE; 132 getChildDeclContext(DeclContext &Context, const DWARFDie &DIE,
|
/external/llvm-project/llvm/tools/llvm-dwarfdump/ |
D | llvm-dwarfdump.cpp | 317 static bool filterByName(const StringSet<> &Names, DWARFDie Die, in filterByName() 350 DWARFDie Die = {CU.get(), &Entry}; in filterByName() 360 StringRef Name, SmallVectorImpl<DWARFDie> &Dies) { in getDies() 363 if (DWARFDie Die = DICtx.getDIEForOffset(*Off)) in getDies() 369 static DWARFDie toDie(const DWARFDebugNames::Entry &Entry, in toDie() 374 return DWARFDie(); in toDie() 378 return DWARFDie(); in toDie() 384 return DWARFDie(); in toDie() 391 StringRef Name, SmallVectorImpl<DWARFDie> &Dies) { in getDies() 393 if (DWARFDie Die = toDie(Entry, DICtx)) in getDies() [all …]
|
D | Statistics.cpp | 176 static std::string constructDieID(DWARFDie Die, in constructDieID() 213 static void collectStatsForDie(DWARFDie Die, std::string FnPrefix, in collectStatsForDie() 336 if (DWARFDie D = in collectStatsForDie() 393 static void collectStatsRecursive(DWARFDie Die, std::string FnPrefix, in collectStatsRecursive() 480 DWARFDie Child = Die.getFirstChild(); in collectStatsRecursive() 562 if (DWARFDie CUDie = CU->getNonSkeletonUnitDIE(false)) in collectStatsForObjectFile()
|
/external/llvm-project/llvm/lib/DWARFLinker/ |
D | DWARFLinker.cpp | 66 DWARFDie DWARFLinker::resolveDIEReference(const DWARFFile &File, in resolveDIEReference() 69 const DWARFDie &DIE, in resolveDIEReference() 82 return DWARFDie(); in resolveDIEReference() 170 bool DWARFLinker::DIECloner::getDIENames(const DWARFDie &Die, in getDIENames() 202 static void resolveRelativeObjectPath(SmallVectorImpl<char> &Buf, DWARFDie CU) { in resolveRelativeObjectPath() 209 const DWARFDie &DIE, CompileUnit &CU, in analyzeImportedModule() 211 std::function<void(const Twine &, const DWARFDie &)> ReportWarning) { in analyzeImportedModule() 231 DWARFDie CUDie = CU.getOrigUnit().getUnitDIE(); in analyzeImportedModule() 257 DWARFDie Die; 266 ContextWorklistItem(DWARFDie Die, ContextWorklistItemType T, in ContextWorklistItem() [all …]
|
/external/llvm-project/llvm/unittests/DebugInfo/DWARF/ |
D | DWARFDieTest.cpp | 21 TEST(DWARFDie, getLocations) { in TEST() argument 75 DWARFDie Die = CU->getUnitDIE(); in TEST()
|