class DebugStringTableSubsectionRef

Declaration

class DebugStringTableSubsectionRef : public DebugSubsectionRef { /* full declaration omitted */ };

Description

Represents a read-only view of a CodeView string table. This is a very simple flat buffer consisting of null-terminated strings, where strings are retrieved by their offset in the buffer. DebugStringTableSubsectionRef does not own the underlying storage for the buffer.

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

Inherits from: DebugSubsectionRef

Member Variables

private llvm::BinaryStreamRef Stream

Inherited from DebugSubsectionRef:

protected Kind

Method Overview

Inherited from DebugSubsectionRef:

Methods

DebugStringTableSubsectionRef()

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

static bool classof(
    const llvm::codeview::DebugSubsectionRef* S)

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

Parameters

const llvm::codeview::DebugSubsectionRef* S

llvm::BinaryStreamRef getBuffer() const

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

Expected<llvm::StringRef> getString(
    uint32_t Offset) const

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

Parameters

uint32_t Offset

llvm::Error initialize(
    llvm::BinaryStreamRef Contents)

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

Parameters

llvm::BinaryStreamRef Contents

llvm::Error initialize(
    llvm::BinaryStreamReader& Reader)

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

Parameters

llvm::BinaryStreamReader& Reader

bool valid() const

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