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