Home
last modified time | relevance | path

Searched refs:StreamIdx (Results 1 – 13 of 13) sorted by relevance

/openbsd/gnu/llvm/llvm/tools/llvm-pdbutil/
H A DStreamUtil.cpp98 for (uint32_t StreamIdx = 0; StreamIdx < StreamCount; ++StreamIdx) { in discoverStreamPurposes() local
100 Streams[StreamIdx] = in discoverStreamPurposes()
103 Streams[StreamIdx] = stream(StreamPurpose::PDB, "PDB Stream", StreamIdx); in discoverStreamPurposes()
105 Streams[StreamIdx] = stream(StreamPurpose::DBI, "DBI Stream", StreamIdx); in discoverStreamPurposes()
107 Streams[StreamIdx] = stream(StreamPurpose::TPI, "TPI Stream", StreamIdx); in discoverStreamPurposes()
109 Streams[StreamIdx] = stream(StreamPurpose::IPI, "IPI Stream", StreamIdx); in discoverStreamPurposes()
139 Streams[StreamIdx] = stream(StreamPurpose::Other, "FPO Data", StreamIdx); in discoverStreamPurposes()
153 Streams[StreamIdx] = stream(StreamPurpose::Other, "Pdata", StreamIdx); in discoverStreamPurposes()
159 StreamIdx == in discoverStreamPurposes()
168 Streams[StreamIdx] = stream(StreamPurpose::Other, "Xdata", StreamIdx); in discoverStreamPurposes()
[all …]
H A DBytesOutputStyle.cpp292 void BytesOutputStyle::dumpTypeIndex(uint32_t StreamIdx, in dumpTypeIndex() argument
294 assert(StreamIdx == StreamTPI || StreamIdx == StreamIPI); in dumpTypeIndex()
297 bool IsTpi = (StreamIdx == StreamTPI); in dumpTypeIndex()
306 auto &Types = Err(initializeTypes(StreamIdx)); in dumpTypeIndex()
307 auto Layout = File.getStreamLayout(StreamIdx); in dumpTypeIndex()
446 BytesOutputStyle::initializeTypes(uint32_t StreamIdx) { in initializeTypes() argument
447 auto &TypeCollection = (StreamIdx == StreamTPI) ? TpiTypes : IpiTypes; in initializeTypes()
451 auto Tpi = (StreamIdx == StreamTPI) ? File.getPDBTpiStream() in initializeTypes()
H A DBytesOutputStyle.h52 void dumpTypeIndex(uint32_t StreamIdx, ArrayRef<uint32_t> Indices);
55 initializeTypes(uint32_t StreamIdx);
H A DDumpOutputStyle.cpp362 for (uint32_t StreamIdx = 0; StreamIdx < StreamCount; ++StreamIdx) { in dumpStreamSummary() local
368 StreamPurposes[StreamIdx].getLongName()); in dumpStreamSummary()
371 auto Blocks = getPdb().getStreamBlockList(StreamIdx); in dumpStreamSummary()
571 if (StreamIdx == kInvalidStreamIndex) { in dumpSymbolStats()
578 P.formatLine("Stream {0}, {1} bytes", StreamIdx, in dumpSymbolStats()
1323 Error DumpOutputStyle::dumpTpiStream(uint32_t StreamIdx) { in dumpTpiStream() argument
1324 assert(StreamIdx == StreamTPI || StreamIdx == StreamIPI); in dumpTpiStream()
1326 if (StreamIdx == StreamTPI) { in dumpTpiStream()
1328 } else if (StreamIdx == StreamIPI) { in dumpTpiStream()
1339 if (StreamIdx == StreamTPI) { in dumpTpiStream()
[all …]
H A DDumpOutputStyle.h90 Error dumpTpiStream(uint32_t StreamIdx);
/openbsd/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
H A DLinePrinter.cpp181 uint32_t StreamIdx, in formatMsfStreamData() argument
184 if (StreamIdx >= File.getNumStreams()) { in formatMsfStreamData()
185 formatLine("Stream {0}: Not present", StreamIdx); in formatMsfStreamData()
188 if (Size + Offset > File.getStreamByteSize(StreamIdx)) { in formatMsfStreamData()
191 StreamIdx); in formatMsfStreamData()
195 auto S = File.createIndexedStream(StreamIdx); in formatMsfStreamData()
198 formatLine("Stream {0}: Not present", StreamIdx); in formatMsfStreamData()
206 formatLine("Stream {0}: {1} (dumping {2:N} / {3:N} bytes)", StreamIdx, in formatMsfStreamData()
214 auto Layout = File.getStreamLayout(StreamIdx); in formatMsfStreamData()
H A DTpiStreamBuilder.cpp31 TpiStreamBuilder::TpiStreamBuilder(MSFBuilder &Msf, uint32_t StreamIdx) in TpiStreamBuilder() argument
32 : Msf(Msf), Allocator(Msf.getAllocator()), Header(nullptr), Idx(StreamIdx) { in TpiStreamBuilder()
H A DPDBFile.cpp245 MSFStreamLayout PDBFile::getStreamLayout(uint32_t StreamIdx) const { in getStreamLayout()
247 auto Blocks = getStreamBlockList(StreamIdx); in getStreamLayout()
249 Result.Length = getStreamByteSize(StreamIdx); in getStreamLayout()
/openbsd/gnu/llvm/llvm/include/llvm/DebugInfo/MSF/
H A DMSFBuilder.h92 uint32_t getStreamSize(uint32_t StreamIdx) const;
95 ArrayRef<uint32_t> getStreamBlocks(uint32_t StreamIdx) const;
/openbsd/gnu/llvm/llvm/lib/DebugInfo/MSF/
H A DMSFBuilder.cpp226 uint32_t MSFBuilder::getStreamSize(uint32_t StreamIdx) const { in getStreamSize()
227 return StreamData[StreamIdx].first; in getStreamSize()
230 ArrayRef<uint32_t> MSFBuilder::getStreamBlocks(uint32_t StreamIdx) const { in getStreamBlocks()
231 return StreamData[StreamIdx].second; in getStreamBlocks()
/openbsd/gnu/llvm/llvm/include/llvm/DebugInfo/PDB/Native/
H A DTpiStreamBuilder.h41 explicit TpiStreamBuilder(msf::MSFBuilder &Msf, uint32_t StreamIdx);
H A DPDBFile.h92 msf::MSFStreamLayout getStreamLayout(uint32_t StreamIdx) const;
H A DLinePrinter.h75 void formatMsfStreamData(StringRef Label, PDBFile &File, uint32_t StreamIdx,