Go to the documentation of this file.
9 #ifndef LLVM_DEBUGINFO_CODEVIEW_DEBUGSTRINGTABLESUBSECTION_H
10 #define LLVM_DEBUGINFO_CODEVIEW_DEBUGSTRINGTABLESUBSECTION_H
23 class BinaryStreamReader;
79 return StringToId.
begin();
96 #endif // LLVM_DEBUGINFO_CODEVIEW_DEBUGSTRINGTABLESUBSECTION_H
This is an optimization pass for GlobalISel generic memory operations.
uint32_t calculateSerializedSize() const override
Provides write only access to a subclass of WritableBinaryStream.
uint32_t insert(StringRef S)
DebugStringTableSubsectionRef()
Represents a read-write view of a CodeView string table.
Tagged union holding either a T or a Error.
BinaryStreamRef getBuffer() const
StringMap< uint32_t >::const_iterator end() const
Error initialize(BinaryStreamRef Contents)
static bool classof(const DebugSubsectionRef *S)
static bool classof(const DebugSubsection *S)
StringMap - This is an unconventional map that is specialized for handling keys that are "strings",...
Provides read only access to a subclass of BinaryStream.
StringRef getStringForId(uint32_t Id) const
std::vector< uint32_t > sortedIds() const
StringRef - Represent a constant reference to a string, i.e.
add sub stmia L5 ldr r0 bl L_printf $stub Instead of a and a wouldn t it be better to do three moves *Return an aggregate type is even return S
StringMap< uint32_t >::const_iterator begin() const
Lightweight error class with error context and mandatory checking.
DebugStringTableSubsection()
Error commit(BinaryStreamWriter &Writer) const override
Represents a read-only view of a CodeView string table.
Expected< StringRef > getString(uint32_t Offset) const
uint32_t getIdForString(StringRef S) const
BinaryStreamRef is to BinaryStream what ArrayRef is to an Array.