class TpiStream
Declaration
class TpiStream { /* full declaration omitted */ };
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:34
Member Variables
- private llvm::pdb::PDBFile& Pdb
- private std::unique_ptr<msf::MappedBlockStream> Stream
- private std::unique_ptr< codeview::LazyRandomTypeCollection> Types
- private llvm::BinarySubstreamRef TypeRecordsSubstream
- private codeview::CVTypeArray TypeRecords
- private std::unique_ptr<BinaryStream> HashStream
- private FixedStreamArray<support::ulittle32_t> HashValues
- private FixedStreamArray<codeview::TypeIndexOffset> TypeIndexOffsets
- private HashTable<support::ulittle32_t> HashAdjusters
- private std::vector<std::vector<codeview::TypeIndex>> HashMap
- private const llvm::pdb::TpiStreamHeader* Header
Method Overview
- public TpiStream(llvm::pdb::PDBFile & File, std::unique_ptr<msf::MappedBlockStream> Stream)
- public uint32_t TypeIndexBegin() const
- public uint32_t TypeIndexEnd() const
- public void buildHashMap()
- public llvm::Error commit()
- public Expected<codeview::TypeIndex> findFullDeclForForwardRef(codeview::TypeIndex ForwardRefTI) const
- public std::vector<codeview::TypeIndex> findRecordsByName(llvm::StringRef Name) const
- public HashTable<support::ulittle32_t> & getHashAdjusters()
- public uint32_t getHashKeySize() const
- public FixedStreamArray<support::ulittle32_t> getHashValues() const
- public uint32_t getNumHashBuckets() const
- public uint32_t getNumTypeRecords() const
- public llvm::pdb::PdbRaw_TpiVer getTpiVersion() const
- public codeview::CVType getType(codeview::TypeIndex Index)
- public uint16_t getTypeHashStreamAuxIndex() const
- public uint16_t getTypeHashStreamIndex() const
- public FixedStreamArray<codeview::TypeIndexOffset> getTypeIndexOffsets() const
- public llvm::BinarySubstreamRef getTypeRecordsSubstream() const
- public llvm::Error reload()
- public bool supportsTypeLookup() const
- public const codeview::CVTypeArray & typeArray() const
- public codeview::LazyRandomTypeCollection & typeCollection()
- public codeview::CVTypeRange types(bool * HadError) const
- public ~TpiStream()
Methods
¶TpiStream(llvm::pdb::PDBFile& File,
std::unique_ptr<msf::MappedBlockStream>
Stream)
TpiStream(llvm::pdb::PDBFile& File,
std::unique_ptr<msf::MappedBlockStream>
Stream)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:38
Parameters
- llvm::pdb::PDBFile& File
- std::unique_ptr<msf::MappedBlockStream> Stream
¶uint32_t TypeIndexBegin() const
uint32_t TypeIndexBegin() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:44
¶uint32_t TypeIndexEnd() const
uint32_t TypeIndexEnd() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:45
¶void buildHashMap()
void buildHashMap()
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:72
¶llvm::Error commit()
llvm::Error commit()
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:70
¶Expected<codeview::TypeIndex>
findFullDeclForForwardRef(
codeview::TypeIndex ForwardRefTI) const
Expected<codeview::TypeIndex>
findFullDeclForForwardRef(
codeview::TypeIndex ForwardRefTI) const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:62
Parameters
- codeview::TypeIndex ForwardRefTI
¶std::vector<codeview::TypeIndex>
findRecordsByName(llvm::StringRef Name) const
std::vector<codeview::TypeIndex>
findRecordsByName(llvm::StringRef Name) const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:64
Parameters
- llvm::StringRef Name
¶HashTable<support::ulittle32_t>&
getHashAdjusters()
HashTable<support::ulittle32_t>&
getHashAdjusters()
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:54
¶uint32_t getHashKeySize() const
uint32_t getHashKeySize() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:50
¶FixedStreamArray<support::ulittle32_t>
getHashValues() const
FixedStreamArray<support::ulittle32_t>
getHashValues() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:52
¶uint32_t getNumHashBuckets() const
uint32_t getNumHashBuckets() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:51
¶uint32_t getNumTypeRecords() const
uint32_t getNumTypeRecords() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:46
¶llvm::pdb::PdbRaw_TpiVer getTpiVersion() const
llvm::pdb::PdbRaw_TpiVer getTpiVersion() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:42
¶codeview::CVType getType(
codeview::TypeIndex Index)
codeview::CVType getType(
codeview::TypeIndex Index)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:66
Parameters
- codeview::TypeIndex Index
¶uint16_t getTypeHashStreamAuxIndex() const
uint16_t getTypeHashStreamAuxIndex() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:48
¶uint16_t getTypeHashStreamIndex() const
uint16_t getTypeHashStreamIndex() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:47
¶FixedStreamArray<codeview::TypeIndexOffset>
getTypeIndexOffsets() const
FixedStreamArray<codeview::TypeIndexOffset>
getTypeIndexOffsets() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:53
¶llvm::BinarySubstreamRef getTypeRecordsSubstream()
const
llvm::BinarySubstreamRef getTypeRecordsSubstream()
const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:68
¶llvm::Error reload()
llvm::Error reload()
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:40
¶bool supportsTypeLookup() const
bool supportsTypeLookup() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:74
¶const codeview::CVTypeArray& typeArray() const
const codeview::CVTypeArray& typeArray() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:57
¶codeview::LazyRandomTypeCollection&
typeCollection()
codeview::LazyRandomTypeCollection&
typeCollection()
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:59
¶codeview::CVTypeRange types(bool* HadError) const
codeview::CVTypeRange types(bool* HadError) const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:56
Parameters
- bool* HadError
¶~TpiStream()
~TpiStream()
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:39