Lines Matching defs:Die

110 static void dumpAttribute(raw_ostream &OS, const DWARFDie &Die,
113 if (!Die.isValid())
125 DWARFUnit *U = Die.getDwarfUnit();
172 if (Die.getLowAndHighPC(LowPC, HighPC, Index))
197 Die.getAttributeValueAsReferencedDie(FormValue).getName(
201 DWARFDie D = resolveReferencedType(Die, FormValue);
211 const DWARFObject &Obj = Die.getDwarfUnit()->getContext().getDWARFObj();
221 if (auto RangesOrError = Die.getAddressRanges())
286 DWARFDie Die = Worklist.pop_back_val();
288 if (!Die.isValid())
291 if (auto Value = Die.find(Attrs))
294 if (auto D = Die.getAttributeValueAsReferencedDie(DW_AT_abstract_origin))
298 if (auto D = Die.getAttributeValueAsReferencedDie(DW_AT_specification))
493 getTypeSizeImpl(DWARFDie Die, uint64_t PointerSize,
496 if (!Visited.insert(Die.getDebugInfoEntry()).second)
498 if (auto SizeAttr = Die.find(DW_AT_byte_size))
502 switch (Die.getTag()) {
508 if (DWARFDie BaseType = Die.getAttributeValueAsReferencedDie(DW_AT_type))
519 if (DWARFDie BaseType = Die.getAttributeValueAsReferencedDie(DW_AT_type))
524 DWARFDie BaseType = Die.getAttributeValueAsReferencedDie(DW_AT_type);
532 for (DWARFDie Child : Die) {
552 if (DWARFDie BaseType = Die.getAttributeValueAsReferencedDie(DW_AT_type))
565 static unsigned dumpParentChain(DWARFDie Die, raw_ostream &OS, unsigned Indent,
567 if (!Die)
571 Indent = dumpParentChain(Die.getParent(), OS, Indent, DumpOpts, Depth + 1);
572 Die.dump(OS, Indent, DumpOpts);
604 if (std::optional<uint32_t> ParentIdx = Die->getParentIdx())
638 return U->getParent(Die);
644 return U->getSibling(Die);
650 return U->getPreviousSibling(Die);
656 return U->getFirstChild(Die);
662 return U->getLastChild(Die);
672 : Die(D), Index(0) {
673 auto AbbrDecl = Die.getAbbreviationDeclarationPtr();
700 auto U = Die.getDwarfUnit();
701 assert(U && "Die must have valid DWARF unit");
713 if (auto AbbrDecl = Die.getAbbreviationDeclarationPtr())