LLVM
8.0.1
|
Classes | |
struct | UdtDenseMapInfo |
Public Member Functions | |
uint32_t | calculateSerializedLength () const |
uint32_t | calculateRecordByteSize () const |
Error | commit (BinaryStreamWriter &Writer) |
void | finalizeBuckets (uint32_t RecordZeroOffset) |
template<typename T > | |
void | addSymbol (const T &Symbol, MSFBuilder &Msf) |
void | addSymbol (const CVSymbol &Symbol) |
Public Attributes | |
std::vector< CVSymbol > | Records |
uint32_t | StreamIndex |
llvm::DenseSet< CVSymbol, UdtDenseMapInfo > | UdtHashes |
std::vector< PSHashRecord > | HashRecords |
std::array< support::ulittle32_t,(IPHR_HASH+32)/32 > | HashBitmap |
std::vector< support::ulittle32_t > | HashBuckets |
Definition at line 33 of file GSIStreamBuilder.cpp.
|
inline |
Definition at line 64 of file GSIStreamBuilder.cpp.
References llvm::codeview::Copy, and llvm::msf::MSFBuilder::getAllocator().
uint32_t GSIHashStreamBuilder::calculateRecordByteSize | ( | ) | const |
Definition at line 88 of file GSIStreamBuilder.cpp.
References Size.
uint32_t GSIHashStreamBuilder::calculateSerializedLength | ( | ) | const |
Definition at line 80 of file GSIStreamBuilder.cpp.
References Size.
Error GSIHashStreamBuilder::commit | ( | BinaryStreamWriter & | Writer | ) |
Definition at line 95 of file GSIStreamBuilder.cpp.
References llvm::codeview::EC, llvm::pdb::GSIHashHeader::HrSize, llvm::makeArrayRef(), llvm::pdb::GSIHashHeader::NumBuckets, llvm::Error::success(), llvm::pdb::GSIHashHeader::VerHdr, llvm::pdb::GSIHashHeader::VerSignature, llvm::BinaryStreamWriter::writeArray(), and llvm::BinaryStreamWriter::writeObject().
void GSIHashStreamBuilder::finalizeBuckets | ( | uint32_t | RecordZeroOffset | ) |
Definition at line 134 of file GSIStreamBuilder.cpp.
References llvm::pdb::PSHashRecord::CRef, getSymbolName(), gsiRecordLess(), llvm::pdb::hashStringV1(), llvm::pdb::IPHR_HASH, llvm::Left, Name, llvm::pdb::PSHashRecord::Off, llvm::Right, and llvm::sort().
std::array<support::ulittle32_t, (IPHR_HASH + 32) / 32> llvm::pdb::GSIHashStreamBuilder::HashBitmap |
Definition at line 56 of file GSIStreamBuilder.cpp.
std::vector<support::ulittle32_t> llvm::pdb::GSIHashStreamBuilder::HashBuckets |
Definition at line 57 of file GSIStreamBuilder.cpp.
std::vector<PSHashRecord> llvm::pdb::GSIHashStreamBuilder::HashRecords |
Definition at line 55 of file GSIStreamBuilder.cpp.
std::vector<CVSymbol> llvm::pdb::GSIHashStreamBuilder::Records |
Definition at line 52 of file GSIStreamBuilder.cpp.
uint32_t llvm::pdb::GSIHashStreamBuilder::StreamIndex |
Definition at line 53 of file GSIStreamBuilder.cpp.
llvm::DenseSet<CVSymbol, UdtDenseMapInfo> llvm::pdb::GSIHashStreamBuilder::UdtHashes |
Definition at line 54 of file GSIStreamBuilder.cpp.