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

Methods

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

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:44

uint32_t TypeIndexEnd() const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:45

void buildHashMap()

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:72

llvm::Error commit()

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:70

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

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:64

Parameters

llvm::StringRef Name

HashTable<support::ulittle32_t>&
getHashAdjusters()

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:54

uint32_t getHashKeySize() const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:50

FixedStreamArray<support::ulittle32_t>
getHashValues() const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:52

uint32_t getNumHashBuckets() const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:51

uint32_t getNumTypeRecords() const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:46

llvm::pdb::PdbRaw_TpiVer getTpiVersion() const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:42

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

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:48

uint16_t getTypeHashStreamIndex() const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:47

FixedStreamArray<codeview::TypeIndexOffset>
getTypeIndexOffsets() const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:53

llvm::BinarySubstreamRef getTypeRecordsSubstream()
    const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:68

llvm::Error reload()

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:40

bool supportsTypeLookup() const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:74

const codeview::CVTypeArray& typeArray() const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:57

codeview::LazyRandomTypeCollection&
typeCollection()

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:59

codeview::CVTypeRange types(bool* HadError) const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:56

Parameters

bool* HadError

~TpiStream()

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h:39