LLVM  6.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::codeview::CVRecord< Kind > Class Template Reference

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

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

Public Member Functions

 CVRecord ()
 
 CVRecord (Kind K, ArrayRef< uint8_t > Data)
 
bool valid () const
 
uint32_t length () const
 
Kind kind () const
 
ArrayRef< uint8_t > data () const
 
StringRef str_data () const
 
ArrayRef< uint8_t > content () const
 
Optional< uint32_thash () const
 
void setHash (uint32_t Value)
 

Public Attributes

Kind Type
 
ArrayRef< uint8_t > RecordData
 
Optional< uint32_tHash
 

Detailed Description

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

Definition at line 28 of file CVRecord.h.

Constructor & Destructor Documentation

◆ CVRecord() [1/2]

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

Definition at line 30 of file CVRecord.h.

◆ CVRecord() [2/2]

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

Definition at line 32 of file CVRecord.h.

Member Function Documentation

◆ content()

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

◆ data()

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

◆ hash()

template<typename Kind>
Optional<uint32_t> llvm::codeview::CVRecord< Kind >::hash ( ) const
inline

Definition at line 48 of file CVRecord.h.

◆ kind()

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

◆ length()

template<typename Kind>
uint32_t llvm::codeview::CVRecord< Kind >::length ( ) const
inline

◆ setHash()

template<typename Kind>
void llvm::codeview::CVRecord< Kind >::setHash ( uint32_t  Value)
inline

Definition at line 50 of file CVRecord.h.

◆ str_data()

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

Definition at line 39 of file CVRecord.h.

Referenced by emitNullTerminatedSymbolName().

◆ valid()

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

Definition at line 34 of file CVRecord.h.

Member Data Documentation

◆ Hash

template<typename Kind>
Optional<uint32_t> llvm::codeview::CVRecord< Kind >::Hash

◆ RecordData

template<typename Kind>
ArrayRef<uint8_t> llvm::codeview::CVRecord< Kind >::RecordData

◆ Type

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

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