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

References

tools/llvm-pdbutil/StreamUtil.cpp
   98   for (uint16_t StreamIdx = 0; StreamIdx < StreamCount; ++StreamIdx) {
   98   for (uint16_t StreamIdx = 0; StreamIdx < StreamCount; ++StreamIdx) {
   99     if (StreamIdx == OldMSFDirectory)
  100       Streams[StreamIdx] =
  101           stream(StreamPurpose::Other, "Old MSF Directory", StreamIdx);
  102     else if (StreamIdx == StreamPDB)
  103       Streams[StreamIdx] = stream(StreamPurpose::PDB, "PDB Stream", StreamIdx);
  103       Streams[StreamIdx] = stream(StreamPurpose::PDB, "PDB Stream", StreamIdx);
  104     else if (StreamIdx == StreamDBI)
  105       Streams[StreamIdx] = stream(StreamPurpose::DBI, "DBI Stream", StreamIdx);
  105       Streams[StreamIdx] = stream(StreamPurpose::DBI, "DBI Stream", StreamIdx);
  106     else if (StreamIdx == StreamTPI)
  107       Streams[StreamIdx] = stream(StreamPurpose::TPI, "TPI Stream", StreamIdx);
  107       Streams[StreamIdx] = stream(StreamPurpose::TPI, "TPI Stream", StreamIdx);
  108     else if (StreamIdx == StreamIPI)
  109       Streams[StreamIdx] = stream(StreamPurpose::IPI, "IPI Stream", StreamIdx);
  109       Streams[StreamIdx] = stream(StreamPurpose::IPI, "IPI Stream", StreamIdx);
  110     else if (Dbi && StreamIdx == Dbi->getGlobalSymbolStreamIndex())
  111       Streams[StreamIdx] =
  112           stream(StreamPurpose::GlobalHash, "Global Symbol Hash", StreamIdx);
  113     else if (Dbi && StreamIdx == Dbi->getPublicSymbolStreamIndex())
  114       Streams[StreamIdx] =
  115           stream(StreamPurpose::PublicHash, "Public Symbol Hash", StreamIdx);
  116     else if (Dbi && StreamIdx == Dbi->getSymRecordStreamIndex())
  117       Streams[StreamIdx] =
  118           stream(StreamPurpose::Symbols, "Symbol Records", StreamIdx);
  119     else if (Tpi && StreamIdx == Tpi->getTypeHashStreamIndex())
  120       Streams[StreamIdx] =
  121           stream(StreamPurpose::TpiHash, "TPI Hash", StreamIdx);
  122     else if (Tpi && StreamIdx == Tpi->getTypeHashStreamAuxIndex())
  123       Streams[StreamIdx] =
  124           stream(StreamPurpose::Other, "TPI Aux Hash", StreamIdx);
  125     else if (Ipi && StreamIdx == Ipi->getTypeHashStreamIndex())
  126       Streams[StreamIdx] =
  127           stream(StreamPurpose::IpiHash, "IPI Hash", StreamIdx);
  128     else if (Ipi && StreamIdx == Ipi->getTypeHashStreamAuxIndex())
  129       Streams[StreamIdx] =
  130           stream(StreamPurpose::Other, "IPI Aux Hash", StreamIdx);
  132              StreamIdx == Dbi->getDebugStreamIndex(DbgHeaderType::Exception))
  133       Streams[StreamIdx] =
  134           stream(StreamPurpose::Other, "Exception Data", StreamIdx);
  135     else if (Dbi && StreamIdx == Dbi->getDebugStreamIndex(DbgHeaderType::Fixup))
  136       Streams[StreamIdx] =
  137           stream(StreamPurpose::Other, "Fixup Data", StreamIdx);
  138     else if (Dbi && StreamIdx == Dbi->getDebugStreamIndex(DbgHeaderType::FPO))
  139       Streams[StreamIdx] = stream(StreamPurpose::Other, "FPO Data", StreamIdx);
  139       Streams[StreamIdx] = stream(StreamPurpose::Other, "FPO Data", StreamIdx);
  141              StreamIdx == Dbi->getDebugStreamIndex(DbgHeaderType::NewFPO))
  142       Streams[StreamIdx] =
  143           stream(StreamPurpose::Other, "New FPO Data", StreamIdx);
  145              StreamIdx == Dbi->getDebugStreamIndex(DbgHeaderType::OmapFromSrc))
  146       Streams[StreamIdx] =
  147           stream(StreamPurpose::Other, "Omap From Source Data", StreamIdx);
  149              StreamIdx == Dbi->getDebugStreamIndex(DbgHeaderType::OmapToSrc))
  150       Streams[StreamIdx] =
  151           stream(StreamPurpose::Other, "Omap To Source Data", StreamIdx);
  152     else if (Dbi && StreamIdx == Dbi->getDebugStreamIndex(DbgHeaderType::Pdata))
  153       Streams[StreamIdx] = stream(StreamPurpose::Other, "Pdata", StreamIdx);
  153       Streams[StreamIdx] = stream(StreamPurpose::Other, "Pdata", StreamIdx);
  155              StreamIdx == Dbi->getDebugStreamIndex(DbgHeaderType::SectionHdr))
  156       Streams[StreamIdx] =
  157           stream(StreamPurpose::Other, "Section Header Data", StreamIdx);
  159              StreamIdx ==
  161       Streams[StreamIdx] = stream(StreamPurpose::Other,
  162                                   "Section Header Original Data", StreamIdx);
  164              StreamIdx == Dbi->getDebugStreamIndex(DbgHeaderType::TokenRidMap))
  165       Streams[StreamIdx] =
  166           stream(StreamPurpose::Other, "Token Rid Data", StreamIdx);
  167     else if (Dbi && StreamIdx == Dbi->getDebugStreamIndex(DbgHeaderType::Xdata))
  168       Streams[StreamIdx] = stream(StreamPurpose::Other, "Xdata", StreamIdx);
  168       Streams[StreamIdx] = stream(StreamPurpose::Other, "Xdata", StreamIdx);
  170       auto ModIter = ModStreams.find(StreamIdx);
  171       auto NSIter = NamedStreams.find(StreamIdx);
  173         Streams[StreamIdx] =
  174             moduleStream(ModIter->second.Descriptor.getModuleName(), StreamIdx,
  177         Streams[StreamIdx] =
  178             stream(StreamPurpose::NamedStream, NSIter->second, StreamIdx);
  180         Streams[StreamIdx] = stream(StreamPurpose::Other, "???", StreamIdx);
  180         Streams[StreamIdx] = stream(StreamPurpose::Other, "???", StreamIdx);