9#ifndef LLVM_DEBUGINFO_PDB_NATIVE_TPISTREAM_H
10#define LLVM_DEBUGINFO_PDB_NATIVE_TPISTREAM_H
25struct TypeIndexOffset;
26class LazyRandomTypeCollection;
29class MappedBlockStream;
32struct TpiStreamHeader;
40 std::unique_ptr<msf::MappedBlockStream> Stream);
67 LLVM_ABI std::vector<codeview::TypeIndex>
82 std::unique_ptr<msf::MappedBlockStream> Stream;
84 std::unique_ptr<codeview::LazyRandomTypeCollection> Types;
90 std::unique_ptr<BinaryStream> HashStream;
95 std::vector<std::vector<codeview::TypeIndex>> HashMap;
Lightweight arrays that are backed by an arbitrary BinaryStream.
Lightweight error class with error context and mandatory checking.
Tagged union holding either a T or a Error.
FixedStreamArray is similar to VarStreamArray, except with each record having a fixed-length.
StringRef - Represent a constant reference to a string, i.e.
Provides amortized O(1) random access to a CodeView type stream.
A range adaptor for a pair of iterators.
LLVM_ABI uint32_t getHashKeySize() const
LLVM_ABI BinarySubstreamRef getTypeRecordsSubstream() const
LLVM_ABI HashTable< support::ulittle32_t > & getHashAdjusters()
LLVM_ABI std::vector< codeview::TypeIndex > findRecordsByName(StringRef Name) const
LLVM_ABI uint32_t TypeIndexBegin() const
LLVM_ABI PdbRaw_TpiVer getTpiVersion() const
LLVM_ABI codeview::CVTypeRange types(bool *HadError) const
LLVM_ABI void buildHashMap()
LLVM_ABI FixedStreamArray< codeview::TypeIndexOffset > getTypeIndexOffsets() const
LLVM_ABI codeview::CVType getType(codeview::TypeIndex Index)
LLVM_ABI uint16_t getTypeHashStreamAuxIndex() const
const codeview::CVTypeArray & typeArray() const
LLVM_ABI uint16_t getTypeHashStreamIndex() const
LLVM_ABI bool supportsTypeLookup() const
LLVM_ABI FixedStreamArray< support::ulittle32_t > getHashValues() const
LLVM_ABI Expected< codeview::TypeIndex > findFullDeclForForwardRef(codeview::TypeIndex ForwardRefTI) const
LLVM_ABI uint32_t getNumTypeRecords() const
codeview::LazyRandomTypeCollection & typeCollection()
LLVM_ABI uint32_t TypeIndexEnd() const
LLVM_ABI uint32_t getNumHashBuckets() const
This is an optimization pass for GlobalISel generic memory operations.