LLVM
8.0.1
|
#include "llvm/DebugInfo/PDB/Native/PDBStringTableBuilder.h"
Public Member Functions | |
uint32_t | insert (StringRef S) |
uint32_t | getIdForString (StringRef S) const |
StringRef | getStringForId (uint32_t Id) const |
uint32_t | calculateSerializedSize () const |
Error | commit (BinaryStreamWriter &Writer) const |
void | setStrings (const codeview::DebugStringTableSubsection &Strings) |
Definition at line 45 of file PDBStringTableBuilder.h.
uint32_t PDBStringTableBuilder::calculateSerializedSize | ( | ) | const |
Definition at line 122 of file PDBStringTableBuilder.cpp.
References Size.
Referenced by llvm::pdb::PDBFileBuilder::addInjectedSource(), llvm::pdb::DbiStreamBuilder::calculateSerializedLength(), and llvm::pdb::DbiStreamBuilder::getSourceFileNameIndex().
Error PDBStringTableBuilder::commit | ( | BinaryStreamWriter & | Writer | ) | const |
Definition at line 191 of file PDBStringTableBuilder.cpp.
References llvm::BinaryStreamWriter::split(), and llvm::Error::success().
Referenced by llvm::pdb::PDBFileBuilder::commit(), and llvm::pdb::DbiStreamBuilder::commit().
Definition at line 45 of file PDBStringTableBuilder.cpp.
Referenced by llvm::pdb::StringTableHashTraits::hashLookupKey().
Definition at line 49 of file PDBStringTableBuilder.cpp.
Referenced by llvm::pdb::PDBFileBuilder::addInjectedSource(), and llvm::pdb::StringTableHashTraits::storageKeyToLookupKey().
Definition at line 41 of file PDBStringTableBuilder.cpp.
Referenced by llvm::pdb::DbiStreamBuilder::addECName(), llvm::pdb::PDBFileBuilder::addInjectedSource(), and llvm::pdb::StringTableHashTraits::lookupKeyToStorageKey().
void PDBStringTableBuilder::setStrings | ( | const codeview::DebugStringTableSubsection & | Strings | ) |
Definition at line 131 of file PDBStringTableBuilder.cpp.
References assert(), llvm::pdb::PDBStringTableHeader::ByteSize, llvm::BinaryStreamWriter::bytesRemaining(), computeBucketCount(), H, llvm::pdb::hashStringV1(), llvm::pdb::PDBStringTableHeader::HashVersion, I, llvm::pdb::PDBStringTableSignature, llvm::pdb::PDBStringTableHeader::Signature, llvm::pdb::Slot, llvm::Error::success(), llvm::BinaryStreamWriter::writeArray(), llvm::BinaryStreamWriter::writeInteger(), and llvm::BinaryStreamWriter::writeObject().