Lines Matching defs:Die

88 void DwarfCompileUnit::addLabelAddress(DIE &Die, dwarf::Attribute Attribute,
95 return addLocalLabelAddress(Die, Attribute, Label);
106 addAttribute(Die, Attribute,
121 addBlock(Die, Attribute, dwarf::DW_FORM_exprloc, Loc);
123 addAttribute(Die, Attribute, dwarf::DW_FORM_LLVM_addrx_offset,
128 void DwarfCompileUnit::addLocalLabelAddress(DIE &Die,
132 addAttribute(Die, Attribute, dwarf::DW_FORM_addr, DIELabel(Label));
134 addAttribute(Die, Attribute, dwarf::DW_FORM_addr, DIEInteger(0));
160 if (DIE *Die = getDIE(GV))
161 return Die;
666 DIE &Die, SmallVector<RangeSpan, 2> Ranges) {
675 attachLowHighPC(Die, Front.Begin, Back.End);
677 addScopeRangeList(Die, std::move(Ranges));
681 DIE &Die, const SmallVectorImpl<InsnRange> &Ranges) {
711 attachRangesOrLowHighPC(Die, std::move(List));
1426 if (DIE *Die = getDIE(IE))
1427 return Die;
1454 auto *Die = Entity->getDIE();
1459 addDIEEntry(*Die, dwarf::DW_AT_abstract_origin, *AbsEntity->getDIE());
1463 applyCommonDbgVariableAttributes(*Var, *Die);
1465 applyLabelAttributes(*Label, *Die);
1477 addLabelAddress(*Die, dwarf::DW_AT_low_pc, Sym);
1481 getDwarfDebug().addAccelName(*this, CUNode->getNameTableKind(), Name, *Die);
1542 void DwarfCompileUnit::addGlobalName(StringRef Name, const DIE &Die,
1547 GlobalNames[FullName] = &Die;
1563 void DwarfCompileUnit::addGlobalTypeImpl(const DIType *Ty, const DIE &Die,
1568 GlobalTypes[FullName] = &Die;
1583 void DwarfCompileUnit::addVariableAddress(const DbgVariable &DV, DIE &Die,
1587 addComplexAddress(Single->getExpr(), Die, dwarf::DW_AT_location, Location);
1589 addAddress(Die, dwarf::DW_AT_location, Location);
1593 void DwarfCompileUnit::addAddress(DIE &Die, dwarf::Attribute Attribute,
1607 addBlock(Die, Attribute, DwarfExpr.finalize());
1610 addUInt(Die, dwarf::DW_AT_LLVM_tag_offset, dwarf::DW_FORM_data1,
1618 void DwarfCompileUnit::addComplexAddress(const DIExpression *DIExpr, DIE &Die,
1637 addBlock(Die, Attribute, DwarfExpr.finalize());
1640 addUInt(Die, dwarf::DW_AT_LLVM_tag_offset, dwarf::DW_FORM_data1,
1645 void DwarfCompileUnit::addLocationList(DIE &Die, dwarf::Attribute Attribute,
1650 addAttribute(Die, Attribute, Form, DIELocList(Index));
1682 void DwarfCompileUnit::addExpr(DIELoc &Die, dwarf::Form Form,
1684 addAttribute(Die, (dwarf::Attribute)0, Form, DIEExpr(Expr));
1721 void DwarfCompileUnit::addBaseTypeRef(DIEValueList &Die, int64_t Idx) {
1722 addAttribute(Die, (dwarf::Attribute)0, dwarf::DW_FORM_udata,
1732 DIE &Die = getUnitDie().addChildFront(
1735 addString(Die, dwarf::DW_AT_name,
1738 addUInt(Die, dwarf::DW_AT_encoding, dwarf::DW_FORM_data1, Btr.Encoding);
1740 addUInt(Die, dwarf::DW_AT_byte_size, std::nullopt,
1743 Btr.Die = &Die;