class DebugStringTableSubsection
Declaration
class DebugStringTableSubsection : public DebugSubsection { /* full declaration omitted */ };
Description
Represents a read-write view of a CodeView string table. DebugStringTableSubsection owns the underlying storage for the table, and is capable of serializing the string table into a format understood by DebugStringTableSubsectionRef.
Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:56
Inherits from: DebugSubsection
Member Variables
Inherited from DebugSubsection:
Method Overview
- public DebugStringTableSubsection()
- public StringMap<uint32_t>::const_iterator begin() const
- public uint32_t calculateSerializedSize() const
- public static bool classof(const llvm::codeview::DebugSubsection * S)
- public llvm::Error commit(llvm::BinaryStreamWriter & Writer) const
- public StringMap<uint32_t>::const_iterator end() const
- public uint32_t getIdForString(llvm::StringRef S) const
- public llvm::StringRef getStringForId(uint32_t Id) const
- public uint32_t insert(llvm::StringRef S)
- public uint32_t size() const
- public std::vector<uint32_t> sortedIds() const
Inherited from DebugSubsection:
Methods
¶DebugStringTableSubsection()
DebugStringTableSubsection()
Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:58
¶StringMap<uint32_t>::const_iterator begin() const
StringMap<uint32_t>::const_iterator begin() const
Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:78
¶uint32_t calculateSerializedSize() const
uint32_t calculateSerializedSize() const
Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:73
¶static bool classof(
const llvm::codeview::DebugSubsection* S)
static bool classof(
const llvm::codeview::DebugSubsection* S)
Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:60
Parameters
- const llvm::codeview::DebugSubsection* S
¶llvm::Error commit(
llvm::BinaryStreamWriter& Writer) const
llvm::Error commit(
llvm::BinaryStreamWriter& Writer) const
Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:74
Parameters
- llvm::BinaryStreamWriter& Writer
¶StringMap<uint32_t>::const_iterator end() const
StringMap<uint32_t>::const_iterator end() const
Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:82
¶uint32_t getIdForString(llvm::StringRef S) const
uint32_t getIdForString(llvm::StringRef S) const
Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:69
Parameters
¶llvm::StringRef getStringForId(uint32_t Id) const
llvm::StringRef getStringForId(uint32_t Id) const
Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:71
Parameters
- uint32_t Id
¶uint32_t insert(llvm::StringRef S)
uint32_t insert(llvm::StringRef S)
Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:66
Parameters
¶uint32_t size() const
uint32_t size() const
Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:76
¶std::vector<uint32_t> sortedIds() const
std::vector<uint32_t> sortedIds() const
Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:84