reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/DebugInfo/DWARF/DWARFUnit.h
  240     auto First = DieArray.data();
  241     assert(Die >= First && Die < First + DieArray.size());
  388     if (DieArray.empty())
  390     return DWARFDie(this, &DieArray[0]);
  445     return DieArray.size();
  460     assert(Index < DieArray.size());
  461     return DWARFDie(this, &DieArray[Index]);
  476     assert(!DieArray.empty());
  478         llvm::partition_point(DieArray, [=](const DWARFDebugInfoEntry &DIE) {
  481     if (It != DieArray.end() && It->getOffset() == Offset)
  495     return die_iterator_range(DieArray.begin(), DieArray.end());
  495     return die_iterator_range(DieArray.begin(), DieArray.end());
lib/DebugInfo/DWARF/DWARFUnit.cpp
  331   assert(!DieArray.empty());
  412   if ((CUDieOnly && !DieArray.empty()) ||
  413       DieArray.size() > 1)
  416   bool HasCUDie = !DieArray.empty();
  417   extractDIEsToVector(!HasCUDie, !CUDieOnly, DieArray);
  419   if (DieArray.empty())
  426   DWARFDie UnitDie(this, &DieArray[0]);
  548   if (DieArray.size() > (unsigned)KeepCUDie) {
  549     DieArray.resize((unsigned)KeepCUDie);
  550     DieArray.shrink_to_fit();
  690     if (DieArray[I].getDepth() == ParentDepth)
  691       return DWARFDie(this, &DieArray[I]);
  708   for (size_t I = getDIEIndex(Die) + 1, EndIdx = DieArray.size(); I < EndIdx;
  710     if (DieArray[I].getDepth() == Depth)
  711       return DWARFDie(this, &DieArray[I]);
  727     if (DieArray[I].getDepth() == Depth - 1)
  729     if (DieArray[I].getDepth() == Depth)
  730       return DWARFDie(this, &DieArray[I]);
  741   if (I >= DieArray.size())
  743   return DWARFDie(this, &DieArray[I]);
  751   for (size_t I = getDIEIndex(Die) + 1, EndIdx = DieArray.size(); I < EndIdx;
  753     if (DieArray[I].getDepth() == Depth + 1 &&
  754         DieArray[I].getTag() == dwarf::DW_TAG_null)
  755       return DWARFDie(this, &DieArray[I]);
  756     assert(DieArray[I].getDepth() > Depth && "Not processing children?");