struct ParsedStringTable

Declaration

struct ParsedStringTable { /* full declaration omitted */ };

Description

In-memory representation of the string table parsed from a buffer (e.g. the remarks section).

Declared at: llvm/include/llvm/Remarks/RemarkParser.h:59

Member Variables

public llvm::StringRef Buffer
The buffer mapped from the section contents.
public std::vector<size_t> Offsets
This object has high changes to be std::move'd around, so don't use a SmallVector for once.

Method Overview

Methods

ParsedStringTable(llvm::StringRef Buffer)

Declared at: llvm/include/llvm/Remarks/RemarkParser.h:66

Parameters

llvm::StringRef Buffer

ParsedStringTable(
    const llvm::remarks::ParsedStringTable&)

Description

Disable copy.

Declared at: llvm/include/llvm/Remarks/RemarkParser.h:68

Parameters

const llvm::remarks::ParsedStringTable&

ParsedStringTable(
    llvm::remarks::ParsedStringTable&&)

Description

Should be movable.

Declared at: llvm/include/llvm/Remarks/RemarkParser.h:71

Parameters

llvm::remarks::ParsedStringTable&&

size_t size() const

Declared at: llvm/include/llvm/Remarks/RemarkParser.h:74