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