Lines Matching refs:Abbrev
984 for (auto *Abbrev : Abbreviations) in ~DwarfLinker() local
985 delete Abbrev; in ~DwarfLinker()
1154 void AssignAbbrev(DIEAbbrev &Abbrev);
1498 getAttributeOffsets(const DWARFAbbreviationDeclaration *Abbrev, unsigned Idx, in getAttributeOffsets() argument
1503 DWARFFormValue::skipValue(Abbrev->getFormByIndex(i), Data, &Offset, &Unit); in getAttributeOffsets()
1506 DWARFFormValue::skipValue(Abbrev->getFormByIndex(Idx), Data, &End, &Unit); in getAttributeOffsets()
1516 const auto *Abbrev = DIE.getAbbreviationDeclarationPtr(); in shouldKeepVariableDIE() local
1520 Abbrev->findAttributeIndex(dwarf::DW_AT_const_value) != -1U) { in shouldKeepVariableDIE()
1525 uint32_t LocationIdx = Abbrev->findAttributeIndex(dwarf::DW_AT_location); in shouldKeepVariableDIE()
1529 uint32_t Offset = DIE.getOffset() + getULEB128Size(Abbrev->getCode()); in shouldKeepVariableDIE()
1533 getAttributeOffsets(Abbrev, LocationIdx, Offset, OrigUnit); in shouldKeepVariableDIE()
1555 const auto *Abbrev = DIE.getAbbreviationDeclarationPtr(); in shouldKeepSubprogramDIE() local
1559 uint32_t LowPcIdx = Abbrev->findAttributeIndex(dwarf::DW_AT_low_pc); in shouldKeepSubprogramDIE()
1563 uint32_t Offset = DIE.getOffset() + getULEB128Size(Abbrev->getCode()); in shouldKeepSubprogramDIE()
1567 getAttributeOffsets(Abbrev, LowPcIdx, Offset, OrigUnit); in shouldKeepSubprogramDIE()
1651 const auto *Abbrev = DIE.getAbbreviationDeclarationPtr(); in keepDIEAndDenpendencies() local
1652 uint32_t Offset = DIE.getOffset() + getULEB128Size(Abbrev->getCode()); in keepDIEAndDenpendencies()
1655 for (const auto &AttrSpec : Abbrev->attributes()) { in keepDIEAndDenpendencies()
1728 void DwarfLinker::AssignAbbrev(DIEAbbrev &Abbrev) { in AssignAbbrev() argument
1731 Abbrev.Profile(ID); in AssignAbbrev()
1738 Abbrev.setNumber(InSet->getNumber()); in AssignAbbrev()
1742 new DIEAbbrev(Abbrev.getTag(), Abbrev.hasChildren())); in AssignAbbrev()
1743 for (const auto &Attr : Abbrev.getData()) in AssignAbbrev()
1747 Abbrev.setNumber(Abbreviations.size()); in AssignAbbrev()
2121 const auto *Abbrev = InputDIE.getAbbreviationDeclarationPtr(); in cloneDIE() local
2122 Offset += getULEB128Size(Abbrev->getCode()); in cloneDIE()
2129 for (const auto &AttrSpec : Abbrev->attributes()) { in cloneDIE()
2171 if (!Abbrev->hasChildren()) { in cloneDIE()
2297 const auto &Abbrev = OutputDIE->getAbbrev().getData(); in patchLineTableForUnit() local
2299 Abbrev.begin(), Abbrev.end(), [](const DIEAbbrevData &AbbrevData) { in patchLineTableForUnit()
2302 assert(Stmt < Abbrev.end() && "Didn't find DW_AT_stmt_list in cloned DIE!"); in patchLineTableForUnit()
2304 cast<DIEInteger>(OutputDIE->getValues()[Stmt - Abbrev.begin()]); in patchLineTableForUnit()