Lines Matching defs:Die

83 void DwarfCompileUnit::addLabelAddress(DIE &Die, dwarf::Attribute Attribute,
90 return addLocalLabelAddress(Die, Attribute, Label);
101 addAttribute(Die, Attribute,
116 addBlock(Die, Attribute, dwarf::DW_FORM_exprloc, Loc);
118 addAttribute(Die, Attribute, dwarf::DW_FORM_LLVM_addrx_offset,
123 void DwarfCompileUnit::addLocalLabelAddress(DIE &Die,
127 addAttribute(Die, Attribute, dwarf::DW_FORM_addr, DIELabel(Label));
129 addAttribute(Die, Attribute, dwarf::DW_FORM_addr, DIEInteger(0));
155 if (DIE *Die = getDIE(GV))
156 return Die;
653 DIE &Die, SmallVector<RangeSpan, 2> Ranges) {
662 attachLowHighPC(Die, Front.Begin, Back.End);
664 addScopeRangeList(Die, std::move(Ranges));
668 DIE &Die, const SmallVectorImpl<InsnRange> &Ranges) {
698 attachRangesOrLowHighPC(Die, std::move(List));
1405 if (DIE *Die = getDIE(IE))
1406 return Die;
1433 auto *Die = Entity->getDIE();
1438 addDIEEntry(*Die, dwarf::DW_AT_abstract_origin, *AbsEntity->getDIE());
1442 applyCommonDbgVariableAttributes(*Var, *Die);
1444 applyLabelAttributes(*Label, *Die);
1456 addLabelAddress(*Die, dwarf::DW_AT_low_pc, Sym);
1460 getDwarfDebug().addAccelName(*this, CUNode->getNameTableKind(), Name, *Die);
1521 void DwarfCompileUnit::addGlobalName(StringRef Name, const DIE &Die,
1526 GlobalNames[FullName] = &Die;
1542 void DwarfCompileUnit::addGlobalTypeImpl(const DIType *Ty, const DIE &Die,
1547 GlobalTypes[FullName] = &Die;
1562 void DwarfCompileUnit::addVariableAddress(const DbgVariable &DV, DIE &Die,
1566 addComplexAddress(Single->getExpr(), Die, dwarf::DW_AT_location, Location);
1568 addAddress(Die, dwarf::DW_AT_location, Location);
1572 void DwarfCompileUnit::addAddress(DIE &Die, dwarf::Attribute Attribute,
1586 addBlock(Die, Attribute, DwarfExpr.finalize());
1589 addUInt(Die, dwarf::DW_AT_LLVM_tag_offset, dwarf::DW_FORM_data1,
1597 void DwarfCompileUnit::addComplexAddress(const DIExpression *DIExpr, DIE &Die,
1616 addBlock(Die, Attribute, DwarfExpr.finalize());
1619 addUInt(Die, dwarf::DW_AT_LLVM_tag_offset, dwarf::DW_FORM_data1,
1624 void DwarfCompileUnit::addLocationList(DIE &Die, dwarf::Attribute Attribute,
1629 addAttribute(Die, Attribute, Form, DIELocList(Index));
1661 void DwarfCompileUnit::addExpr(DIELoc &Die, dwarf::Form Form,
1663 addAttribute(Die, (dwarf::Attribute)0, Form, DIEExpr(Expr));
1696 void DwarfCompileUnit::addBaseTypeRef(DIEValueList &Die, int64_t Idx) {
1697 addAttribute(Die, (dwarf::Attribute)0, dwarf::DW_FORM_udata,
1707 DIE &Die = getUnitDie().addChildFront(
1710 addString(Die, dwarf::DW_AT_name,
1713 addUInt(Die, dwarf::DW_AT_encoding, dwarf::DW_FORM_data1, Btr.Encoding);
1715 addUInt(Die, dwarf::DW_AT_byte_size, std::nullopt,
1718 Btr.Die = &Die;