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:

protected Kind

Method Overview

Inherited from DebugSubsection:

Methods

DebugStringTableSubsection()

Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:58

StringMap<uint32_t>::const_iterator begin() const

Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:78

uint32_t calculateSerializedSize() const

Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:73

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

Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:74

Parameters

llvm::BinaryStreamWriter& Writer

StringMap<uint32_t>::const_iterator end() const

Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:82

uint32_t getIdForString(llvm::StringRef S) const

Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:69

Parameters

llvm::StringRef S

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)

Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:66

Parameters

llvm::StringRef S

uint32_t size() const

Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:76

std::vector<uint32_t> sortedIds() const

Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h:84