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

Templates

Kind

Member Variables

public ArrayRef<uint8_t> RecordData

Method Overview

Methods

CVRecord<Kind>()

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

CVRecord<Kind>(ArrayRef<uint8_t> Data)

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

Parameters

ArrayRef<uint8_t> Data

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

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

Parameters

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

ArrayRef<uint8_t> content() const

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

ArrayRef<uint8_t> data() const

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

Kind kind() const

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

uint32_t length() const

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

llvm::StringRef str_data() const

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

bool valid() const

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