Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DStreamUtil.cpp57 static inline StreamInfo moduleStream(StringRef Label, uint32_t StreamIdx, in moduleStream() argument
59 return StreamInfo::createModuleStream(Label, StreamIdx, Modi); in moduleStream()
99 for (uint16_t StreamIdx = 0; StreamIdx < StreamCount; ++StreamIdx) { in discoverStreamPurposes() local
100 if (StreamIdx == OldMSFDirectory) in discoverStreamPurposes()
101 Streams[StreamIdx] = in discoverStreamPurposes()
102 stream(StreamPurpose::Other, "Old MSF Directory", StreamIdx); in discoverStreamPurposes()
103 else if (StreamIdx == StreamPDB) in discoverStreamPurposes()
104 Streams[StreamIdx] = stream(StreamPurpose::PDB, "PDB Stream", StreamIdx); in discoverStreamPurposes()
105 else if (StreamIdx == StreamDBI) in discoverStreamPurposes()
106 Streams[StreamIdx] = stream(StreamPurpose::DBI, "DBI Stream", StreamIdx); in discoverStreamPurposes()
[all …]
DLinePrinter.cpp176 uint32_t StreamIdx, in formatMsfStreamData() argument
179 if (StreamIdx >= File.getNumStreams()) { in formatMsfStreamData()
180 formatLine("Stream {0}: Not present", StreamIdx); in formatMsfStreamData()
183 if (Size + Offset > File.getStreamByteSize(StreamIdx)) { in formatMsfStreamData()
186 StreamIdx); in formatMsfStreamData()
191 File.getMsfLayout(), File.getMsfBuffer(), StreamIdx, File.getAllocator()); in formatMsfStreamData()
194 formatLine("Stream {0}: Not present", StreamIdx); in formatMsfStreamData()
202 formatLine("Stream {0}: {1} (dumping {2:N} / {3:N} bytes)", StreamIdx, in formatMsfStreamData()
210 auto Layout = File.getStreamLayout(StreamIdx); in formatMsfStreamData()
DBytesOutputStyle.cpp293 void BytesOutputStyle::dumpTypeIndex(uint32_t StreamIdx, in dumpTypeIndex() argument
295 assert(StreamIdx == StreamTPI || StreamIdx == StreamIPI); in dumpTypeIndex()
298 bool IsTpi = (StreamIdx == StreamTPI); in dumpTypeIndex()
307 auto &Types = Err(initializeTypes(StreamIdx)); in dumpTypeIndex()
308 auto Layout = File.getStreamLayout(StreamIdx); in dumpTypeIndex()
449 BytesOutputStyle::initializeTypes(uint32_t StreamIdx) { in initializeTypes() argument
450 auto &TypeCollection = (StreamIdx == StreamTPI) ? TpiTypes : IpiTypes; in initializeTypes()
454 auto Tpi = (StreamIdx == StreamTPI) ? File.getPDBTpiStream() in initializeTypes()
DBytesOutputStyle.h53 void dumpTypeIndex(uint32_t StreamIdx, ArrayRef<uint32_t> Indices);
56 initializeTypes(uint32_t StreamIdx);
DDumpOutputStyle.cpp341 for (uint16_t StreamIdx = 0; StreamIdx < StreamCount; ++StreamIdx) { in dumpStreamSummary() local
344 fmt_align(StreamIdx, AlignStyle::Right, NumDigits(StreamCount)), in dumpStreamSummary()
345 fmt_align(getPdb().getStreamByteSize(StreamIdx), AlignStyle::Right, in dumpStreamSummary()
347 StreamPurposes[StreamIdx].getLongName()); in dumpStreamSummary()
350 auto Blocks = getPdb().getStreamBlockList(StreamIdx); in dumpStreamSummary()
612 uint32_t StreamIdx = Desc.getModuleStreamIndex(); in dumpSymbolStats() local
614 if (StreamIdx == kInvalidStreamIndex) { in dumpSymbolStats()
620 P.formatLine("Stream {0}, {1} bytes", StreamIdx, in dumpSymbolStats()
621 getPdb().getStreamByteSize(StreamIdx)); in dumpSymbolStats()
1198 Error DumpOutputStyle::dumpTpiStream(uint32_t StreamIdx) { in dumpTpiStream() argument
[all …]
DDumpOutputStyle.h85 Error dumpTpiStream(uint32_t StreamIdx);
DLinePrinter.h57 void formatMsfStreamData(StringRef Label, PDBFile &File, uint32_t StreamIdx,
/external/llvm/tools/llvm-pdbdump/
DLLVMOutputStyle.cpp142 for (uint16_t StreamIdx = 0; StreamIdx < StreamCount; ++StreamIdx) { in dumpStreamSummary() local
144 Label += to_string(StreamIdx); in dumpStreamSummary()
146 if (StreamIdx == OldMSFDirectory) in dumpStreamSummary()
148 else if (StreamIdx == StreamPDB) in dumpStreamSummary()
150 else if (StreamIdx == StreamDBI) in dumpStreamSummary()
152 else if (StreamIdx == StreamTPI) in dumpStreamSummary()
154 else if (StreamIdx == StreamIPI) in dumpStreamSummary()
156 else if (Dbi && StreamIdx == Dbi->getGlobalSymbolStreamIndex()) in dumpStreamSummary()
158 else if (Dbi && StreamIdx == Dbi->getPublicSymbolStreamIndex()) in dumpStreamSummary()
160 else if (Dbi && StreamIdx == Dbi->getSymRecordStreamIndex()) in dumpStreamSummary()
[all …]
DLLVMOutputStyle.h33 Error dumpTpiStream(uint32_t StreamIdx);
/external/llvm/lib/DebugInfo/PDB/Raw/
DIndexedStreamData.cpp16 IndexedStreamData::IndexedStreamData(uint32_t StreamIdx, const IPDBFile &File) in IndexedStreamData() argument
17 : StreamIdx(StreamIdx), File(File) {} in IndexedStreamData()
20 return File.getStreamByteSize(StreamIdx); in getLength()
24 return File.getStreamBlockList(StreamIdx); in getStreamBlocks()
DMappedBlockStream.cpp297 MappedBlockStream::createIndexedStream(uint32_t StreamIdx, in createIndexedStream() argument
299 if (StreamIdx >= File.getNumStreams()) in createIndexedStream()
302 auto Data = llvm::make_unique<IndexedStreamData>(StreamIdx, File); in createIndexedStream()
/external/llvm/include/llvm/DebugInfo/PDB/Raw/
DIndexedStreamData.h21 IndexedStreamData(uint32_t StreamIdx, const IPDBFile &File);
28 uint32_t StreamIdx;
DMappedBlockStream.h44 createIndexedStream(uint32_t StreamIdx, const IPDBFile &File);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/MSF/
DMSFBuilder.h92 uint32_t getStreamSize(uint32_t StreamIdx) const;
95 ArrayRef<uint32_t> getStreamBlocks(uint32_t StreamIdx) const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/MSF/
DMSFBuilder.cpp227 uint32_t MSFBuilder::getStreamSize(uint32_t StreamIdx) const { in getStreamSize()
228 return StreamData[StreamIdx].first; in getStreamSize()
231 ArrayRef<uint32_t> MSFBuilder::getStreamBlocks(uint32_t StreamIdx) const { in getStreamBlocks()
232 return StreamData[StreamIdx].second; in getStreamBlocks()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/
DTpiStreamBuilder.cpp35 TpiStreamBuilder::TpiStreamBuilder(MSFBuilder &Msf, uint32_t StreamIdx) in TpiStreamBuilder() argument
36 : Msf(Msf), Allocator(Msf.getAllocator()), Header(nullptr), Idx(StreamIdx) { in TpiStreamBuilder()
DPDBFile.cpp244 MSFStreamLayout PDBFile::getStreamLayout(uint32_t StreamIdx) const { in getStreamLayout()
246 auto Blocks = getStreamBlockList(StreamIdx); in getStreamLayout()
248 Result.Length = getStreamByteSize(StreamIdx); in getStreamLayout()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/PDB/Native/
DTpiStreamBuilder.h50 explicit TpiStreamBuilder(msf::MSFBuilder &Msf, uint32_t StreamIdx);
DPDBFile.h89 msf::MSFStreamLayout getStreamLayout(uint32_t StreamIdx) const;