|
LLVM
7.0.0
|
#include "llvm/DebugInfo/PDB/Native/TpiStream.h"
Public Member Functions | |
| TpiStream (PDBFile &File, std::unique_ptr< msf::MappedBlockStream > Stream) | |
| ~TpiStream () | |
| Error | reload () |
| PdbRaw_TpiVer | getTpiVersion () const |
| uint32_t | TypeIndexBegin () const |
| uint32_t | TypeIndexEnd () const |
| uint32_t | getNumTypeRecords () const |
| uint16_t | getTypeHashStreamIndex () const |
| uint16_t | getTypeHashStreamAuxIndex () const |
| uint32_t | getHashKeySize () const |
| uint32_t | getNumHashBuckets () const |
| FixedStreamArray< support::ulittle32_t > | getHashValues () const |
| FixedStreamArray< codeview::TypeIndexOffset > | getTypeIndexOffsets () const |
| HashTable< support::ulittle32_t > & | getHashAdjusters () |
| codeview::CVTypeRange | types (bool *HadError) const |
| const codeview::CVTypeArray & | typeArray () const |
| codeview::LazyRandomTypeCollection & | typeCollection () |
| BinarySubstreamRef | getTypeRecordsSubstream () const |
| Error | commit () |
Friends | |
| class | TpiStreamBuilder |
Definition at line 34 of file TpiStream.h.
| TpiStream::TpiStream | ( | PDBFile & | File, |
| std::unique_ptr< msf::MappedBlockStream > | Stream | ||
| ) |
Definition at line 34 of file TpiStream.cpp.
References ~TpiStream().
|
default |
Referenced by TpiStream().
| Error TpiStream::commit | ( | ) |
Definition at line 163 of file TpiStream.cpp.
References llvm::Error::success().
| HashTable< support::ulittle32_t > & TpiStream::getHashAdjusters | ( | ) |
Definition at line 155 of file TpiStream.cpp.
| uint32_t TpiStream::getHashKeySize | ( | ) | const |
Definition at line 141 of file TpiStream.cpp.
References llvm::pdb::TpiStreamHeader::HashKeySize.
| FixedStreamArray< support::ulittle32_t > TpiStream::getHashValues | ( | ) | const |
Definition at line 147 of file TpiStream.cpp.
| uint32_t TpiStream::getNumHashBuckets | ( | ) | const |
Definition at line 140 of file TpiStream.cpp.
References llvm::pdb::TpiStreamHeader::NumHashBuckets.
| 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.
References llvm::pdb::TpiStreamHeader::Version.
| uint16_t TpiStream::getTypeHashStreamAuxIndex | ( | ) | const |
Definition at line 136 of file TpiStream.cpp.
References llvm::pdb::TpiStreamHeader::HashAuxStreamIndex.
| uint16_t TpiStream::getTypeHashStreamIndex | ( | ) | const |
Definition at line 132 of file TpiStream.cpp.
References llvm::pdb::TpiStreamHeader::HashStreamIndex.
| FixedStreamArray< TypeIndexOffset > TpiStream::getTypeIndexOffsets | ( | ) | const |
Definition at line 151 of file TpiStream.cpp.
Referenced by reload().
| BinarySubstreamRef TpiStream::getTypeRecordsSubstream | ( | ) | const |
Definition at line 143 of file TpiStream.cpp.
| Error TpiStream::reload | ( | ) |
Definition at line 39 of file TpiStream.cpp.
References llvm::BinaryStreamReader::bytesRemaining(), llvm::pdb::corrupt_file, llvm::codeview::EC, llvm::pdb::PDBFile::getAllocator(), llvm::pdb::PDBFile::getMsfBuffer(), llvm::pdb::PDBFile::getMsfLayout(), llvm::pdb::PDBFile::getNumStreams(), getNumTypeRecords(), getTypeIndexOffsets(), llvm::pdb::TpiStreamHeader::HashAdjBuffer, llvm::pdb::TpiStreamHeader::HashKeySize, llvm::pdb::TpiStreamHeader::HashStreamIndex, llvm::pdb::TpiStreamHeader::HashValueBuffer, llvm::pdb::TpiStreamHeader::HeaderSize, llvm::AArch64CC::HS, llvm::pdb::TpiStreamHeader::IndexOffsetBuffer, llvm::pdb::kInvalidStreamIndex, llvm::pdb::TpiStreamHeader::EmbeddedBuf::Length, llvm::pdb::MaxTpiHashBuckets, llvm::pdb::MinTpiHashBuckets, llvm::pdb::TpiStreamHeader::NumHashBuckets, llvm::pdb::TpiStreamHeader::EmbeddedBuf::Off, llvm::pdb::PdbTpiV80, llvm::BinaryStreamReader::readArray(), llvm::BinaryStreamReader::readObject(), llvm::BinaryStreamReader::readSubstream(), llvm::BinarySubstreamRef::size(), llvm::BinarySubstreamRef::StreamData, llvm::Error::success(), llvm::pdb::TpiStreamHeader::TypeRecordBytes, and llvm::pdb::TpiStreamHeader::Version.
|
inline |
Definition at line 57 of file TpiStream.h.
|
inline |
Definition at line 59 of file TpiStream.h.
References llvm::codeview::Pdb.
| uint32_t TpiStream::TypeIndexBegin | ( | ) | const |
Definition at line 124 of file TpiStream.cpp.
References llvm::pdb::TpiStreamHeader::TypeIndexBegin.
Referenced by getNumTypeRecords().
| uint32_t TpiStream::TypeIndexEnd | ( | ) | const |
Definition at line 126 of file TpiStream.cpp.
References llvm::pdb::TpiStreamHeader::TypeIndexEnd.
Referenced by getNumTypeRecords().
| CVTypeRange TpiStream::types | ( | bool * | HadError | ) | const |
Definition at line 159 of file TpiStream.cpp.
References llvm::VarStreamArray< ValueType, Extractor >::begin(), llvm::VarStreamArray< ValueType, Extractor >::end(), and llvm::make_range().
|
friend |
Definition at line 35 of file TpiStream.h.
1.8.13