Home
last modified time | relevance | path

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

/external/llvm-project/llvm/tools/llvm-pdbutil/
DStreamUtil.cpp56 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()
[all …]
DLinePrinter.cpp175 uint32_t StreamIdx, in formatMsfStreamData() argument
178 if (StreamIdx >= File.getNumStreams()) { in formatMsfStreamData()
179 formatLine("Stream {0}: Not present", StreamIdx); in formatMsfStreamData()
182 if (Size + Offset > File.getStreamByteSize(StreamIdx)) { in formatMsfStreamData()
185 StreamIdx); in formatMsfStreamData()
189 auto S = File.createIndexedStream(StreamIdx); in formatMsfStreamData()
192 formatLine("Stream {0}: Not present", StreamIdx); in formatMsfStreamData()
200 formatLine("Stream {0}: {1} (dumping {2:N} / {3:N} bytes)", StreamIdx, in formatMsfStreamData()
208 auto Layout = File.getStreamLayout(StreamIdx); in formatMsfStreamData()
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()
DBytesOutputStyle.h52 void dumpTypeIndex(uint32_t StreamIdx, ArrayRef<uint32_t> Indices);
55 initializeTypes(uint32_t StreamIdx);
DDumpOutputStyle.cpp392 for (uint16_t StreamIdx = 0; StreamIdx < StreamCount; ++StreamIdx) { in dumpStreamSummary() local
395 fmt_align(StreamIdx, AlignStyle::Right, NumDigits(StreamCount)), in dumpStreamSummary()
396 fmt_align(getPdb().getStreamByteSize(StreamIdx), AlignStyle::Right, in dumpStreamSummary()
398 StreamPurposes[StreamIdx].getLongName()); in dumpStreamSummary()
401 auto Blocks = getPdb().getStreamBlockList(StreamIdx); in dumpStreamSummary()
673 uint32_t StreamIdx = Desc.getModuleStreamIndex(); in dumpSymbolStats() local
675 if (StreamIdx == kInvalidStreamIndex) { in dumpSymbolStats()
681 P.formatLine("Stream {0}, {1} bytes", StreamIdx, in dumpSymbolStats()
682 getPdb().getStreamByteSize(StreamIdx)); in dumpSymbolStats()
1425 Error DumpOutputStyle::dumpTpiStream(uint32_t StreamIdx) { in dumpTpiStream() argument
[all …]
DDumpOutputStyle.h97 Error dumpTpiStream(uint32_t StreamIdx);
DLinePrinter.h56 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-10.0/llvm/include/llvm/DebugInfo/MSF/
DMSFBuilder.h91 uint32_t getStreamSize(uint32_t StreamIdx) const;
94 ArrayRef<uint32_t> getStreamBlocks(uint32_t StreamIdx) const;
/external/llvm-project/llvm/include/llvm/DebugInfo/MSF/
DMSFBuilder.h91 uint32_t getStreamSize(uint32_t StreamIdx) const;
94 ArrayRef<uint32_t> getStreamBlocks(uint32_t StreamIdx) const;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/MSF/
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()
/external/llvm-project/llvm/lib/DebugInfo/MSF/
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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DTpiStreamBuilder.cpp34 TpiStreamBuilder::TpiStreamBuilder(MSFBuilder &Msf, uint32_t StreamIdx) in TpiStreamBuilder() argument
35 : Msf(Msf), Allocator(Msf.getAllocator()), Header(nullptr), Idx(StreamIdx) { in TpiStreamBuilder()
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()
/external/llvm-project/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.cpp246 MSFStreamLayout PDBFile::getStreamLayout(uint32_t StreamIdx) const { in getStreamLayout()
248 auto Blocks = getStreamBlockList(StreamIdx); in getStreamLayout()
250 Result.Length = getStreamByteSize(StreamIdx); in getStreamLayout()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/
DTpiStreamBuilder.h49 explicit TpiStreamBuilder(msf::MSFBuilder &Msf, uint32_t StreamIdx);
DPDBFile.h94 msf::MSFStreamLayout getStreamLayout(uint32_t StreamIdx) const;
/external/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
DTpiStreamBuilder.h49 explicit TpiStreamBuilder(msf::MSFBuilder &Msf, uint32_t StreamIdx);
DPDBFile.h94 msf::MSFStreamLayout getStreamLayout(uint32_t StreamIdx) const;