10 #ifndef LLVM_DEBUGINFO_CODEVIEW_DEBUGSTRINGTABLESUBSECTION_H
11 #define LLVM_DEBUGINFO_CODEVIEW_DEBUGSTRINGTABLESUBSECTION_H
23 class BinaryStreamReader;
89 #endif // LLVM_DEBUGINFO_CODEVIEW_DEBUGSTRINGTABLESUBSECTION_H
StringMap< uint32_t >::const_iterator end() const
BinaryStreamRef getBuffer() const
uint32_t calculateSerializedSize() const override
Error commit(BinaryStreamWriter &Writer) const override
DebugSubsectionKind kind() const
DebugSubsectionKind kind() const
Tagged union holding either a T or a Error.
DebugStringTableSubsection()
Provides write only access to a subclass of WritableBinaryStream.
Expected< StringRef > getString(uint32_t Offset) const
uint32_t getStringId(StringRef S) const
StringMap< uint32_t >::const_iterator begin() const
Represents a read-write view of a CodeView string table.
BinaryStreamRef is to BinaryStream what ArrayRef is to an Array.
static bool classof(const DebugSubsectionRef *S)
Represents a read-only view of a CodeView string table.
StringMap - This is an unconventional map that is specialized for handling keys that are "strings"...
Error initialize(BinaryStreamRef Contents)
uint32_t insert(StringRef S)
static bool classof(const DebugSubsection *S)
DebugStringTableSubsectionRef()
Lightweight error class with error context and mandatory checking.
Provides read only access to a subclass of BinaryStream.
StringRef - Represent a constant reference to a string, i.e.