Lines Matching defs:Die
109 static void dumpAttribute(raw_ostream &OS, const DWARFDie &Die,
112 if (!Die.isValid())
124 DWARFUnit *U = Die.getDwarfUnit();
171 if (Die.getLowAndHighPC(LowPC, HighPC, Index))
196 Die.getAttributeValueAsReferencedDie(FormValue).getName(
200 DWARFDie D = resolveReferencedType(Die, FormValue);
210 const DWARFObject &Obj = Die.getDwarfUnit()->getContext().getDWARFObj();
220 if (auto RangesOrError = Die.getAddressRanges())
285 DWARFDie Die = Worklist.pop_back_val();
287 if (!Die.isValid())
290 if (auto Value = Die.find(Attrs))
295 if (auto D = Die.getAttributeValueAsReferencedDie(Attr))
511 getTypeSizeImpl(DWARFDie Die, uint64_t PointerSize,
514 if (!Visited.insert(Die.getDebugInfoEntry()).second)
516 if (auto SizeAttr = Die.find(DW_AT_byte_size))
520 switch (Die.getTag()) {
526 if (DWARFDie BaseType = Die.getAttributeValueAsReferencedDie(DW_AT_type))
537 if (DWARFDie BaseType = Die.getAttributeValueAsReferencedDie(DW_AT_type))
542 DWARFDie BaseType = Die.getAttributeValueAsReferencedDie(DW_AT_type);
550 for (DWARFDie Child : Die) {
570 if (DWARFDie BaseType = Die.getAttributeValueAsReferencedDie(DW_AT_type))
583 static unsigned dumpParentChain(DWARFDie Die, raw_ostream &OS, unsigned Indent,
585 if (!Die)
589 Indent = dumpParentChain(Die.getParent(), OS, Indent, DumpOpts, Depth + 1);
590 Die.dump(OS, Indent, DumpOpts);
622 if (std::optional<uint32_t> ParentIdx = Die->getParentIdx())
656 return U->getParent(Die);
662 return U->getSibling(Die);
668 return U->getPreviousSibling(Die);
674 return U->getFirstChild(Die);
680 return U->getLastChild(Die);
690 : Die(D), Index(0) {
691 auto AbbrDecl = Die.getAbbreviationDeclarationPtr();
718 auto U = Die.getDwarfUnit();
719 assert(U && "Die must have valid DWARF unit");
731 if (auto AbbrDecl = Die.getAbbreviationDeclarationPtr())