LLDB  mainline
Public Types | Public Member Functions | List of all members
lldb_private::UnwindPlan::Row::FAValue Class Reference

#include <UnwindPlan.h>

Collaboration diagram for lldb_private::UnwindPlan::Row::FAValue:
Collaboration graph
[legend]

Public Types

enum  ValueType { unspecified, isRegisterPlusOffset, isRegisterDereferenced, isDWARFExpression }
 

Public Member Functions

 FAValue ()
 
bool operator== (const FAValue &rhs) const
 
bool operator!= (const FAValue &rhs) const
 
void SetUnspecified ()
 
bool IsUnspecified () const
 
bool IsRegisterPlusOffset () const
 
void SetIsRegisterPlusOffset (uint32_t reg_num, int32_t offset)
 
bool IsRegisterDereferenced () const
 
void SetIsRegisterDereferenced (uint32_t reg_num)
 
bool IsDWARFExpression () const
 
void SetIsDWARFExpression (const uint8_t *opcodes, uint32_t len)
 
uint32_t GetRegisterNumber () const
 
ValueType GetValueType () const
 
int32_t GetOffset () const
 
void IncOffset (int32_t delta)
 
void SetOffset (int32_t offset)
 
void GetDWARFExpr (const uint8_t **opcodes, uint16_t &len) const
 
const uint8_t * GetDWARFExpressionBytes ()
 
int GetDWARFExpressionLength ()
 
void Dump (Stream &s, const UnwindPlan *unwind_plan, Thread *thread) const
 

Detailed Description

Definition at line 198 of file UnwindPlan.h.

Member Enumeration Documentation

◆ ValueType

Enumerator
unspecified 
isRegisterPlusOffset 
isRegisterDereferenced 
isDWARFExpression 

Definition at line 200 of file UnwindPlan.h.

Constructor & Destructor Documentation

◆ FAValue()

lldb_private::UnwindPlan::Row::FAValue::FAValue ( )
inline

Member Function Documentation

◆ Dump()

void UnwindPlan::Row::FAValue::Dump ( Stream s,
const UnwindPlan unwind_plan,
Thread thread 
) const

◆ GetDWARFExpr()

void lldb_private::UnwindPlan::Row::FAValue::GetDWARFExpr ( const uint8_t **  opcodes,
uint16_t len 
) const
inline

◆ GetDWARFExpressionBytes()

const uint8_t* lldb_private::UnwindPlan::Row::FAValue::GetDWARFExpressionBytes ( )
inline

◆ GetDWARFExpressionLength()

int lldb_private::UnwindPlan::Row::FAValue::GetDWARFExpressionLength ( )
inline

◆ GetOffset()

int32_t lldb_private::UnwindPlan::Row::FAValue::GetOffset ( ) const
inline

◆ GetRegisterNumber()

uint32_t lldb_private::UnwindPlan::Row::FAValue::GetRegisterNumber ( ) const
inline

◆ GetValueType()

ValueType lldb_private::UnwindPlan::Row::FAValue::GetValueType ( ) const
inline

Definition at line 250 of file UnwindPlan.h.

Referenced by lldb_private::RegisterContextLLDB::IsTrapHandlerFrame().

◆ IncOffset()

void lldb_private::UnwindPlan::Row::FAValue::IncOffset ( int32_t  delta)
inline

Definition at line 258 of file UnwindPlan.h.

◆ IsDWARFExpression()

bool lldb_private::UnwindPlan::Row::FAValue::IsDWARFExpression ( ) const
inline

◆ IsRegisterDereferenced()

bool lldb_private::UnwindPlan::Row::FAValue::IsRegisterDereferenced ( ) const
inline

Definition at line 227 of file UnwindPlan.h.

◆ IsRegisterPlusOffset()

bool lldb_private::UnwindPlan::Row::FAValue::IsRegisterPlusOffset ( ) const
inline

Definition at line 217 of file UnwindPlan.h.

◆ IsUnspecified()

bool lldb_private::UnwindPlan::Row::FAValue::IsUnspecified ( ) const
inline

◆ operator!=()

bool lldb_private::UnwindPlan::Row::FAValue::operator!= ( const FAValue rhs) const
inline

Definition at line 211 of file UnwindPlan.h.

◆ operator==()

bool UnwindPlan::Row::FAValue::operator== ( const FAValue rhs) const

Definition at line 169 of file UnwindPlan.cpp.

References expr, and reg.

◆ SetIsDWARFExpression()

void lldb_private::UnwindPlan::Row::FAValue::SetIsDWARFExpression ( const uint8_t *  opcodes,
uint32_t  len 
)
inline

◆ SetIsRegisterDereferenced()

void lldb_private::UnwindPlan::Row::FAValue::SetIsRegisterDereferenced ( uint32_t  reg_num)
inline

◆ SetIsRegisterPlusOffset()

void lldb_private::UnwindPlan::Row::FAValue::SetIsRegisterPlusOffset ( uint32_t  reg_num,
int32_t  offset 
)
inline

◆ SetOffset()

void lldb_private::UnwindPlan::Row::FAValue::SetOffset ( int32_t  offset)
inline

◆ SetUnspecified()

void lldb_private::UnwindPlan::Row::FAValue::SetUnspecified ( )
inline

Member Data Documentation

◆ expr

struct { ... } lldb_private::UnwindPlan::Row::FAValue::expr

Referenced by operator==().

◆ length

uint16_t lldb_private::UnwindPlan::Row::FAValue::length

Definition at line 305 of file UnwindPlan.h.

◆ offset

int32_t lldb_private::UnwindPlan::Row::FAValue::offset

Definition at line 300 of file UnwindPlan.h.

◆ opcodes

const uint8_t* lldb_private::UnwindPlan::Row::FAValue::opcodes

Definition at line 304 of file UnwindPlan.h.

◆ reg

struct { ... } lldb_private::UnwindPlan::Row::FAValue::reg

Referenced by operator==().

◆ reg_num

uint32_t lldb_private::UnwindPlan::Row::FAValue::reg_num

Definition at line 298 of file UnwindPlan.h.


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