LLVM 22.0.0git
|
#include "llvm/DebugInfo/PDB/Native/TpiStream.h"
Friends | |
class | TpiStreamBuilder |
Definition at line 35 of file TpiStream.h.
TpiStream::TpiStream | ( | PDBFile & | File, |
std::unique_ptr< msf::MappedBlockStream > | Stream ) |
Definition at line 35 of file TpiStream.cpp.
References llvm::move().
Referenced by findFullDeclForForwardRef(), and findRecordsByName().
|
default |
References LLVM_ABI.
void TpiStream::buildHashMap | ( | ) |
Definition at line 143 of file TpiStream.cpp.
References llvm::codeview::TypeIndex::toArrayIndex().
Referenced by findFullDeclForForwardRef(), and findRecordsByName().
Error TpiStream::commit | ( | ) |
Definition at line 245 of file TpiStream.cpp.
References llvm::Error::success().
Expected< TypeIndex > TpiStream::findFullDeclForForwardRef | ( | codeview::TypeIndex | ForwardRefTI | ) | const |
Definition at line 179 of file TpiStream.cpp.
References buildHashMap(), F, llvm::codeview::TagRecord::getName(), llvm::codeview::TagRecord::getUniqueName(), llvm::pdb::hashTagRecord(), llvm::codeview::TagRecord::hasUniqueName(), llvm::codeview::isUdtForwardRef(), llvm::codeview::CVRecord< Kind >::kind(), supportsTypeLookup(), llvm::Expected< T >::takeError(), and TpiStream().
Definition at line 159 of file TpiStream.cpp.
References buildHashMap(), llvm::codeview::computeTypeName(), llvm::pdb::hashStringV1(), supportsTypeLookup(), and TpiStream().
HashTable< support::ulittle32_t > & TpiStream::getHashAdjusters | ( | ) |
Definition at line 237 of file TpiStream.cpp.
uint32_t TpiStream::getHashKeySize | ( | ) | const |
Definition at line 141 of file TpiStream.cpp.
FixedStreamArray< support::ulittle32_t > TpiStream::getHashValues | ( | ) | const |
Definition at line 229 of file TpiStream.cpp.
uint32_t TpiStream::getNumHashBuckets | ( | ) | const |
Definition at line 140 of file TpiStream.cpp.
uint32_t TpiStream::getNumTypeRecords | ( | ) | const |
Definition at line 128 of file TpiStream.cpp.
References TypeIndexBegin(), and TypeIndexEnd().
Referenced by reload().
PdbRaw_TpiVer TpiStream::getTpiVersion | ( | ) | const |
Definition at line 119 of file TpiStream.cpp.
codeview::CVType TpiStream::getType | ( | codeview::TypeIndex | Index | ) |
Definition at line 220 of file TpiStream.cpp.
References assert().
uint16_t TpiStream::getTypeHashStreamAuxIndex | ( | ) | const |
Definition at line 136 of file TpiStream.cpp.
uint16_t TpiStream::getTypeHashStreamIndex | ( | ) | const |
Definition at line 132 of file TpiStream.cpp.
FixedStreamArray< TypeIndexOffset > TpiStream::getTypeIndexOffsets | ( | ) | const |
Definition at line 233 of file TpiStream.cpp.
Referenced by reload().
BinarySubstreamRef TpiStream::getTypeRecordsSubstream | ( | ) | const |
Definition at line 225 of file TpiStream.cpp.
Error TpiStream::reload | ( | ) |
Definition at line 40 of file TpiStream.cpp.
References llvm::BinaryStreamReader::bytesRemaining(), llvm::consumeError(), llvm::pdb::corrupt_file, llvm::codeview::EC, getNumTypeRecords(), getTypeIndexOffsets(), llvm::pdb::kInvalidStreamIndex, llvm::make_error(), llvm::pdb::MaxTpiHashBuckets, llvm::pdb::MinTpiHashBuckets, llvm::pdb::PdbTpiV80, llvm::BinaryStreamReader::readArray(), llvm::BinaryStreamReader::readObject(), llvm::BinaryStreamReader::readSubstream(), llvm::BinaryStreamReader::setOffset(), and llvm::Error::success().
bool TpiStream::supportsTypeLookup | ( | ) | const |
Definition at line 176 of file TpiStream.cpp.
Referenced by findFullDeclForForwardRef(), and findRecordsByName().
|
inline |
Definition at line 60 of file TpiStream.h.
|
inline |
Definition at line 62 of file TpiStream.h.
uint32_t TpiStream::TypeIndexBegin | ( | ) | const |
Definition at line 124 of file TpiStream.cpp.
Referenced by getNumTypeRecords().
uint32_t TpiStream::TypeIndexEnd | ( | ) | const |
Definition at line 126 of file TpiStream.cpp.
Referenced by getNumTypeRecords().
CVTypeRange TpiStream::types | ( | bool * | HadError | ) | const |
Definition at line 241 of file TpiStream.cpp.
References llvm::make_range().
|
friend |
Definition at line 36 of file TpiStream.h.
References LLVM_ABI, and TpiStreamBuilder.
Referenced by TpiStreamBuilder.