LLVM 20.0.0git
|
Public Member Functions | |
uint32_t | calculateSerializedLength () const |
Error | commit (BinaryStreamWriter &Writer) |
void | finalizePublicBuckets () |
void | finalizeGlobalBuckets (uint32_t RecordZeroOffset) |
void | finalizeBuckets (uint32_t RecordZeroOffset, MutableArrayRef< BulkPublic > Globals) |
Public Attributes | |
uint32_t | RecordByteSize = 0 |
std::vector< PSHashRecord > | HashRecords |
std::array< support::ulittle32_t,(IPHR_HASH+32)/32 > | HashBitmap |
std::vector< support::ulittle32_t > | HashBuckets |
Definition at line 40 of file GSIStreamBuilder.cpp.
uint32_t GSIHashStreamBuilder::calculateSerializedLength | ( | ) | const |
Definition at line 124 of file GSIStreamBuilder.cpp.
References HashBitmap, HashBuckets, HashRecords, and Size.
Error GSIHashStreamBuilder::commit | ( | BinaryStreamWriter & | Writer | ) |
Definition at line 132 of file GSIStreamBuilder.cpp.
References llvm::codeview::EC, HashBitmap, HashBuckets, HashRecords, llvm::pdb::GSIHashHeader::HdrSignature, llvm::pdb::GSIHashHeader::HdrVersion, llvm::Error::success(), llvm::BinaryStreamWriter::writeArray(), and llvm::BinaryStreamWriter::writeObject().
void GSIHashStreamBuilder::finalizeBuckets | ( | uint32_t | RecordZeroOffset, |
MutableArrayRef< BulkPublic > | Globals | ||
) |
Definition at line 198 of file GSIStreamBuilder.cpp.
References assert(), B, gsiRecordCmp(), HashBitmap, HashBuckets, HashRecords, I, llvm::pdb::IPHR_HASH, llvm::make_range(), llvm::pdb::PSHashRecord::Off, P, llvm::parallelFor(), Size, and llvm::sort().
void llvm::pdb::GSIHashStreamBuilder::finalizeGlobalBuckets | ( | uint32_t | RecordZeroOffset | ) |
void llvm::pdb::GSIHashStreamBuilder::finalizePublicBuckets | ( | ) |
std::array<support::ulittle32_t, (IPHR_HASH + 32) / 32> llvm::pdb::GSIHashStreamBuilder::HashBitmap |
Definition at line 51 of file GSIStreamBuilder.cpp.
Referenced by calculateSerializedLength(), commit(), and finalizeBuckets().
std::vector<support::ulittle32_t> llvm::pdb::GSIHashStreamBuilder::HashBuckets |
Definition at line 53 of file GSIStreamBuilder.cpp.
Referenced by calculateSerializedLength(), commit(), and finalizeBuckets().
std::vector<PSHashRecord> llvm::pdb::GSIHashStreamBuilder::HashRecords |
Definition at line 44 of file GSIStreamBuilder.cpp.
Referenced by calculateSerializedLength(), commit(), and finalizeBuckets().
uint32_t llvm::pdb::GSIHashStreamBuilder::RecordByteSize = 0 |
Definition at line 42 of file GSIStreamBuilder.cpp.