Thanks to visit codestin.com
Credit goes to llvm.org

LLVM 22.0.0git
llvm::codeview::CVRecord< Kind > Class Template Reference

CVRecord is a fat pointer (base + size pair) to a symbol or type record. More...

#include "llvm/DebugInfo/CodeView/CVRecord.h"

Inheritance diagram for llvm::codeview::CVRecord< Kind >:
[legend]

Public Member Functions

 CVRecord ()=default
 CVRecord (ArrayRef< uint8_t > Data)
 CVRecord (const RecordPrefix *P, size_t Size)
bool valid () const
uint32_t length () const
Kind kind () const
ArrayRef< uint8_tdata () const
StringRef str_data () const
ArrayRef< uint8_tcontent () const

Public Attributes

ArrayRef< uint8_tRecordData

Detailed Description

template<typename Kind>
class llvm::codeview::CVRecord< Kind >

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.

Definition at line 29 of file CVRecord.h.

Constructor & Destructor Documentation

◆ CVRecord() [1/3]

template<typename Kind>
llvm::codeview::CVRecord< Kind >::CVRecord ( )
default

◆ CVRecord() [2/3]

template<typename Kind>
llvm::codeview::CVRecord< Kind >::CVRecord ( ArrayRef< uint8_t > Data)
inline

Definition at line 33 of file CVRecord.h.

◆ CVRecord() [3/3]

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

Definition at line 35 of file CVRecord.h.

Member Function Documentation

◆ content()

template<typename Kind>
ArrayRef< uint8_t > llvm::codeview::CVRecord< Kind >::content ( ) const
inline

◆ data()

◆ kind()

◆ length()

◆ str_data()

template<typename Kind>
StringRef llvm::codeview::CVRecord< Kind >::str_data ( ) const
inline

Definition at line 51 of file CVRecord.h.

◆ valid()

template<typename Kind>
bool llvm::codeview::CVRecord< Kind >::valid ( ) const
inline

Definition at line 38 of file CVRecord.h.

Member Data Documentation

◆ RecordData


The documentation for this class was generated from the following file: