class CVRecord

Declaration

template <typename Kind>
class CVRecord { /* full declaration omitted */ };

Description

CVRecord is a fat pointer (base + size pair) to a symbol or type record. Carrying the size separately instead of trusting the size stored in the record prefix provides some extra safety and flexibility.

Declared at: llvm/include/llvm/DebugInfo/CodeView/CVRecord.h:30

Templates

Kind

Member Variables

public ArrayRef<uint8_t> RecordData

Method Overview

Methods

CVRecord<Kind>()

Declared at: llvm/include/llvm/DebugInfo/CodeView/CVRecord.h:32

CVRecord<Kind>(ArrayRef<uint8_t> Data)

Declared at: llvm/include/llvm/DebugInfo/CodeView/CVRecord.h:34

Parameters

ArrayRef<uint8_t> Data

CVRecord<Kind>(
    const llvm::codeview::RecordPrefix* P,
    size_t Size)

Declared at: llvm/include/llvm/DebugInfo/CodeView/CVRecord.h:36

Parameters

const llvm::codeview::RecordPrefix* P
size_t Size

ArrayRef<uint8_t> content() const

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

ArrayRef<uint8_t> data() const

Declared at: llvm/include/llvm/DebugInfo/CodeView/CVRecord.h:50

Kind kind() const

Declared at: llvm/include/llvm/DebugInfo/CodeView/CVRecord.h:43

uint32_t length() const

Declared at: llvm/include/llvm/DebugInfo/CodeView/CVRecord.h:41

llvm::StringRef str_data() const

Declared at: llvm/include/llvm/DebugInfo/CodeView/CVRecord.h:52

bool valid() const

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