Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DStreamUtil.cpp55 static inline StreamInfo moduleStream(StringRef Label, uint32_t StreamIdx,
57 return StreamInfo::createModuleStream(Label, StreamIdx, Modi); in moduleStream()
97 for (uint32_t StreamIdx = 0; StreamIdx < StreamCount; ++StreamIdx) { in discoverStreamPurposes()
98 if (StreamIdx == OldMSFDirectory) in discoverStreamPurposes() local
99 Streams[StreamIdx] = in discoverStreamPurposes()
100 stream(StreamPurpose::Other, "Old MSF Directory", StreamIdx); in discoverStreamPurposes()
101 else if (StreamIdx == StreamPDB) in discoverStreamPurposes()
102 Streams[StreamIdx] in discoverStreamPurposes()
56 moduleStream(StringRef Label,uint32_t StreamIdx,uint32_t Modi) moduleStream() argument
[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.cpp363 for (uint32_t StreamIdx = 0; StreamIdx < StreamCount; ++StreamIdx) { in dumpStreamSummary() local
366 fmt_align(StreamIdx, AlignStyle::Right, NumDigits(StreamCount)), in dumpStreamSummary()
367 fmt_align(getPdb().getStreamByteSize(StreamIdx), AlignStyle::Right, in dumpStreamSummary()
369 StreamPurposes[StreamIdx].getLongName()); in dumpStreamSummary()
372 auto Blocks = getPdb().getStreamBlockList(StreamIdx); in dumpStreamSummary()
570 uint32_t StreamIdx = Desc.getModuleStreamIndex(); in dumpSymbolStats() local
572 if (StreamIdx == kInvalidStreamIndex) { in dumpSymbolStats()
579 P.formatLine("Stream {0}, {1} bytes", StreamIdx, in dumpSymbolStats()
580 getPdb().getStreamByteSize(StreamIdx)); in dumpSymbolStats()
1323 Error DumpOutputStyle::dumpTpiStream(uint32_t StreamIdx) { in dumpTpiStream() argument
[all …]
H A DDumpOutputStyle.h88 Error dumpTpiStream(uint32_t StreamIdx);
/freebsd/contrib/llvm-project/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.cpp32 TpiStreamBuilder::TpiStreamBuilder(MSFBuilder &Msf, uint32_t StreamIdx) in TpiStreamBuilder()
33 : Msf(Msf), Allocator(Msf.getAllocator()), Header(nullptr), Idx(StreamIdx) { in TpiStreamBuilder()
31 TpiStreamBuilder(MSFBuilder & Msf,uint32_t StreamIdx) TpiStreamBuilder() argument
H A 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()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.h44 uint32_t StreamIdx;
57 uint32_t StreamIdx) const;
62 uint32_t StreamIdx, LVShared *Shared) in LVTypeVisitor()
64 Types(Types), Ids(Ids), StreamIdx(StreamIdx), Shared(Shared) { in LVTypeVisitor()
307 void printTypeIndex(StringRef FieldName, TypeIndex TI, uint32_t StreamIdx);
348 LVElement *getElement(uint32_t StreamIdx, TypeIndex TI,
355 uint32_t StreamIdx);
358 LVElement *Element, uint32_t StreamIdx);
45 uint32_t StreamIdx; global() variable
63 LVTypeVisitor(ScopedPrinter & W,LVLogicalVisitor * LogicalVisitor,LazyRandomTypeCollection & Types,LazyRandomTypeCollection & Ids,uint32_t StreamIdx,LVShared * Shared) LVTypeVisitor() argument
/freebsd/contrib/llvm-project/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;
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.cpp140 void add(uint32_t StreamIdx, TypeIndex TI, TypeLeafKind Kind,
142 void add(uint32_t StreamIdx, TypeIndex TI, StringRef Name);
143 LVElement *find(uint32_t StreamIdx, TypeIndex TI, bool Create = true);
144 TypeIndex find(uint32_t StreamIdx, StringRef Name);
336 void LVTypeRecords::add(uint32_t StreamIdx, TypeIndex TI, TypeLeafKind Kind, in add() argument
339 (StreamIdx == StreamTPI) ? RecordFromTypes : RecordFromIds; in add()
344 void LVTypeRecords::add(uint32_t StreamIdx, TypeIndex TI, StringRef Name) { in add() argument
345 NameTable &Target = (StreamIdx == StreamTPI) ? NameFromTypes : NameFromIds; in add()
349 LVElement *LVTypeRecords::find(uint32_t StreamIdx, TypeIndex TI, bool Create) { in find() argument
351 (StreamIdx == StreamTPI) ? RecordFromTypes : RecordFromIds; in find()
[all …]
H A DLVCodeViewReader.cpp584 SpecialStream StreamIdx) -> Error { in traverseTypes()
585 LVTypeVisitor TDV(W, &LogicalVisitor, Types, Ids, StreamIdx, in traverseTypes()
586 __anonf382f8f70602(LazyRandomTypeCollection &Types, LazyRandomTypeCollection &Ids, SpecialStream StreamIdx) traverseTypes() argument
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/MSF/
H A 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()
/freebsd/contrib/llvm-project/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,