LLVM
8.0.1
|
#include "llvm/DebugInfo/PDB/Native/NamedStreamMap.h"
Public Member Functions | |
NamedStreamMap () | |
Error | load (BinaryStreamReader &Stream) |
Error | commit (BinaryStreamWriter &Writer) const |
uint32_t | calculateSerializedLength () const |
uint32_t | size () const |
bool | get (StringRef Stream, uint32_t &StreamNo) const |
void | set (StringRef Stream, uint32_t StreamNo) |
uint32_t | appendStringData (StringRef S) |
StringRef | getString (uint32_t Offset) const |
uint32_t | hashString (uint32_t Offset) const |
StringMap< uint32_t > | entries () const |
Friends | |
class | NamedStreamMapBuilder |
Definition at line 39 of file NamedStreamMap.h.
NamedStreamMap::NamedStreamMap | ( | ) |
Definition at line 49 of file NamedStreamMap.cpp.
Definition at line 118 of file NamedStreamMap.cpp.
References llvm::StringRef::begin(), and llvm::StringRef::end().
Referenced by llvm::pdb::NamedStreamMapTraits::lookupKeyToStorageKey().
uint32_t NamedStreamMap::calculateSerializedLength | ( | ) | const |
Definition at line 84 of file NamedStreamMap.cpp.
Referenced by llvm::pdb::InfoStreamBuilder::finalizeMsfLayout().
Error NamedStreamMap::commit | ( | BinaryStreamWriter & | Writer | ) | const |
Definition at line 67 of file NamedStreamMap.cpp.
References llvm::pdb::Data, llvm::Error::success(), llvm::BinaryStreamWriter::writeFixedString(), and llvm::BinaryStreamWriter::writeInteger().
Referenced by llvm::pdb::InfoStreamBuilder::commit().
Definition at line 109 of file NamedStreamMap.cpp.
References llvm::StringMap< ValueTy, AllocatorTy >::try_emplace().
Referenced by llvm::pdb::InfoStream::named_streams().
Definition at line 101 of file NamedStreamMap.cpp.
Referenced by llvm::pdb::InfoStream::getNamedStreamIndex(), and llvm::pdb::PDBFileBuilder::getNamedStreamIndex().
Definition at line 92 of file NamedStreamMap.cpp.
References assert().
Referenced by hashString(), and llvm::pdb::NamedStreamMapTraits::storageKeyToLookupKey().
Definition at line 97 of file NamedStreamMap.cpp.
References getString(), and llvm::pdb::hashStringV1().
Error NamedStreamMap::load | ( | BinaryStreamReader & | Stream | ) |
Definition at line 52 of file NamedStreamMap.cpp.
References llvm::StringRef::begin(), llvm::pdb::corrupt_file, llvm::StringRef::end(), llvm::joinErrors(), llvm::BinaryStreamReader::readFixedString(), and llvm::BinaryStreamReader::readInteger().
Referenced by llvm::pdb::InfoStream::reload().
Definition at line 125 of file NamedStreamMap.cpp.
Referenced by llvm::pdb::PDBFileBuilder::getGsiBuilder().
uint32_t NamedStreamMap::size | ( | ) | const |
Definition at line 90 of file NamedStreamMap.cpp.
|
friend |
Definition at line 40 of file NamedStreamMap.h.