class CodeViewRecordIO

Declaration

class CodeViewRecordIO { /* full declaration omitted */ };

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:45

Member Variables

private SmallVector< llvm::codeview::CodeViewRecordIO::RecordLimit, 2> Limits
private llvm::BinaryStreamReader* Reader = nullptr
private llvm::BinaryStreamWriter* Writer = nullptr
private llvm::codeview::CodeViewRecordStreamer* Streamer = nullptr
private uint64_t StreamedLen = 0

Method Overview

Methods

CodeViewRecordIO(llvm::BinaryStreamReader& Reader)

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:57

Parameters

llvm::BinaryStreamReader& Reader

CodeViewRecordIO(llvm::BinaryStreamWriter& Writer)

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:60

Parameters

llvm::BinaryStreamWriter& Writer

CodeViewRecordIO(
    llvm::codeview::CodeViewRecordStreamer&
        Streamer)

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:63

Parameters

llvm::codeview::CodeViewRecordStreamer& Streamer

llvm::Error beginRecord(
    Optional<uint32_t> MaxLength)

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

Parameters

Optional<uint32_t> MaxLength

void emitComment(const llvm::Twine& Comment)

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:238

Parameters

const llvm::Twine& Comment

void emitEncodedSignedInteger(
    const int64_t& Value,
    const llvm::Twine& Comment = "")

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:221

Parameters

const int64_t& Value
const llvm::Twine& Comment = ""

void emitEncodedUnsignedInteger(
    const uint64_t& Value,
    const llvm::Twine& Comment = "")

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:223

Parameters

const uint64_t& Value
const llvm::Twine& Comment = ""

void emitRawComment(const llvm::Twine& T)

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:215

Parameters

const llvm::Twine& T

llvm::Error endRecord()

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:67

uint32_t getCurrentOffset() const

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

uint64_t getStreamedLen()

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:209

void incrStreamedLen(const uint64_t& Len)

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:228

Parameters

const uint64_t& Len

bool isReading() const

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

bool isStreaming() const

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:71

bool isWriting() const

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:77

llvm::Error mapByteVectorTail(
    std::vector<uint8_t>& Bytes,
    const llvm::Twine& Comment = "")

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:203

Parameters

std::vector<uint8_t>& Bytes
const llvm::Twine& Comment = ""

llvm::Error mapByteVectorTail(
    ArrayRef<uint8_t>& Bytes,
    const llvm::Twine& Comment = "")

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:202

Parameters

ArrayRef<uint8_t>& Bytes
const llvm::Twine& Comment = ""

llvm::Error mapEncodedInteger(
    llvm::APSInt& Value,
    const llvm::Twine& Comment = "")

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:137

Parameters

llvm::APSInt& Value
const llvm::Twine& Comment = ""

llvm::Error mapEncodedInteger(
    uint64_t& Value,
    const llvm::Twine& Comment = "")

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:136

Parameters

uint64_t& Value
const llvm::Twine& Comment = ""

llvm::Error mapEncodedInteger(
    int64_t& Value,
    const llvm::Twine& Comment = "")

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:135

Parameters

int64_t& Value
const llvm::Twine& Comment = ""

template <typename T>
llvm::Error mapEnum(
    T& Value,
    const llvm::Twine& Comment = "")

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:116

Templates

T

Parameters

T& Value
const llvm::Twine& Comment = ""

llvm::Error mapGuid(
    llvm::codeview::GUID& Guid,
    const llvm::Twine& Comment = "")

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:139

Parameters

llvm::codeview::GUID& Guid
const llvm::Twine& Comment = ""

template <typename T>
llvm::Error mapInteger(
    T& Value,
    const llvm::Twine& Comment = "")

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:102

Templates

T

Parameters

T& Value
const llvm::Twine& Comment = ""

llvm::Error mapInteger(
    llvm::codeview::TypeIndex& TypeInd,
    const llvm::Twine& Comment = "")

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

Parameters

llvm::codeview::TypeIndex& TypeInd
const llvm::Twine& Comment = ""

template <typename T>
llvm::Error mapObject(T& Value)

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:83

Templates

T

Parameters

T& Value

llvm::Error mapStringZ(
    llvm::StringRef& Value,
    const llvm::Twine& Comment = "")

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:138

Parameters

llvm::StringRef& Value
const llvm::Twine& Comment = ""

llvm::Error mapStringZVectorZ(
    std::vector<StringRef>& Value,
    const llvm::Twine& Comment = "")

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:141

Parameters

std::vector<StringRef>& Value
const llvm::Twine& Comment = ""

template <typename SizeType,
          typename T,
          typename ElementMapper>
llvm::Error mapVectorN(
    T& Items,
    const ElementMapper& Mapper,
    const llvm::Twine& Comment = "")

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:145

Templates

SizeType
T
ElementMapper

Parameters

T& Items
const ElementMapper& Mapper
const llvm::Twine& Comment = ""

template <typename T, typename ElementMapper>
llvm::Error mapVectorTail(
    T& Items,
    const ElementMapper& Mapper,
    const llvm::Twine& Comment = "")

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:182

Templates

T
ElementMapper

Parameters

T& Items
const ElementMapper& Mapper
const llvm::Twine& Comment = ""

uint32_t maxFieldLength() const

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:81

llvm::Error padToAlignment(uint32_t Align)

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:206

Parameters

uint32_t Align

void resetStreamedLen()

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:233

llvm::Error skipPadding()

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:207

llvm::Error writeEncodedSignedInteger(
    const int64_t& Value)

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:225

Parameters

const int64_t& Value

llvm::Error writeEncodedUnsignedInteger(
    const uint64_t& Value)

Declared at: llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h:226

Parameters

const uint64_t& Value