class CodeViewRecordIO

Declaration

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

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

Method Overview

  • public CodeViewRecordIO(llvm::BinaryStreamWriter & Writer)
  • public CodeViewRecordIO(llvm::codeview::CodeViewRecordStreamer & Streamer)
  • public CodeViewRecordIO(llvm::BinaryStreamReader & Reader)
  • public llvm::Error beginRecord(Optional<uint32_t> MaxLength)
  • public void emitRawComment(const llvm::Twine & T)
  • public llvm::Error endRecord()
  • public uint64_t getStreamedLen()
  • public bool isReading() const
  • public bool isStreaming() const
  • public bool isWriting() const
  • public llvm::Error mapByteVectorTail(ArrayRef<uint8_t> & Bytes, const llvm::Twine & Comment = "")
  • public llvm::Error mapByteVectorTail(std::vector<uint8_t> & Bytes, const llvm::Twine & Comment = "")
  • public llvm::Error mapEncodedInteger(int64_t & Value, const llvm::Twine & Comment = "")
  • public llvm::Error mapEncodedInteger(uint64_t & Value, const llvm::Twine & Comment = "")
  • public llvm::Error mapEncodedInteger(llvm::APSInt & Value, const llvm::Twine & Comment = "")
  • public template <typename T>llvm::Error mapEnum(T & Value, const llvm::Twine & Comment = "")
  • public llvm::Error mapGuid(llvm::codeview::GUID & Guid, const llvm::Twine & Comment = "")
  • public template <typename T>llvm::Error mapInteger(T & Value, const llvm::Twine & Comment = "")
  • public llvm::Error mapInteger(llvm::codeview::TypeIndex & TypeInd, const llvm::Twine & Comment = "")
  • public template <typename T>llvm::Error mapObject(T & Value)
  • public llvm::Error mapStringZ(llvm::StringRef & Value, const llvm::Twine & Comment = "")
  • public llvm::Error mapStringZVectorZ(std::vector<StringRef> & Value, const llvm::Twine & Comment = "")
  • public template <typename SizeType, typename T, typename ElementMapper>llvm::Error mapVectorN(T & Items, const ElementMapper & Mapper, const llvm::Twine & Comment = "")
  • public template <typename T, typename ElementMapper>llvm::Error mapVectorTail(T & Items, const ElementMapper & Mapper, const llvm::Twine & Comment = "")
  • public uint32_t maxFieldLength() const
  • public llvm::Error padToAlignment(uint32_t Align)
  • public llvm::Error skipPadding()

Methods

CodeViewRecordIO(llvm::BinaryStreamWriter& Writer)

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

Parameters

llvm::BinaryStreamWriter& Writer

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

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

Parameters

llvm::codeview::CodeViewRecordStreamer& Streamer

CodeViewRecordIO(llvm::BinaryStreamReader& Reader)

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

Parameters

llvm::BinaryStreamReader& Reader

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

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

Parameters

Optional<uint32_t> MaxLength

void emitRawComment(const llvm::Twine& T)

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

Parameters

const llvm::Twine& T

llvm::Error endRecord()

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

uint64_t getStreamedLen()

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

bool isReading() const

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

bool isStreaming() const

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

bool isWriting() const

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

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

llvm::APSInt& 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:113

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:136

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:99

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:66

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:80

Templates

T

Parameters

T& Value

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

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

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:138

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:142

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:179

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:78

llvm::Error padToAlignment(uint32_t Align)

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

Parameters

uint32_t Align

llvm::Error skipPadding()

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