LLDB mainline
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
lldb_private::StackID Class Reference

#include <StackID.h>

Public Member Functions

 StackID ()=default
 
 StackID (lldb::addr_t pc, lldb::addr_t cfa, SymbolContextScope *symbol_scope)
 
 StackID (const StackID &rhs)
 
 ~StackID ()=default
 
lldb::addr_t GetPC () const
 
lldb::addr_t GetCallFrameAddress () const
 
SymbolContextScopeGetSymbolContextScope () const
 
void SetSymbolContextScope (SymbolContextScope *symbol_scope)
 
void Clear ()
 
bool IsValid () const
 
void Dump (Stream *s)
 
const StackIDoperator= (const StackID &rhs)
 

Protected Member Functions

void SetPC (lldb::addr_t pc)
 
void SetCFA (lldb::addr_t cfa)
 

Protected Attributes

lldb::addr_t m_pc
 
lldb::addr_t m_cfa
 
SymbolContextScopem_symbol_scope
 

Friends

class StackFrame
 

Detailed Description

Definition at line 17 of file StackID.h.

Constructor & Destructor Documentation

◆ StackID() [1/3]

lldb_private::StackID::StackID ( )
default

◆ StackID() [2/3]

lldb_private::StackID::StackID ( lldb::addr_t  pc,
lldb::addr_t  cfa,
SymbolContextScope symbol_scope 
)
inlineexplicit

Definition at line 22 of file StackID.h.

◆ StackID() [3/3]

lldb_private::StackID::StackID ( const StackID rhs)
inline

Definition at line 26 of file StackID.h.

◆ ~StackID()

lldb_private::StackID::~StackID ( )
default

Member Function Documentation

◆ Clear()

void lldb_private::StackID::Clear ( )
inline

◆ Dump()

void StackID::Dump ( Stream s)

◆ GetCallFrameAddress()

lldb::addr_t lldb_private::StackID::GetCallFrameAddress ( ) const
inline

◆ GetPC()

lldb::addr_t lldb_private::StackID::GetPC ( ) const
inline

◆ GetSymbolContextScope()

SymbolContextScope * lldb_private::StackID::GetSymbolContextScope ( ) const
inline

◆ IsValid()

bool lldb_private::StackID::IsValid ( ) const
inline

◆ operator=()

const StackID & lldb_private::StackID::operator= ( const StackID rhs)
inline

Definition at line 54 of file StackID.h.

References m_cfa, m_pc, and m_symbol_scope.

◆ SetCFA()

void lldb_private::StackID::SetCFA ( lldb::addr_t  cfa)
inlineprotected

Definition at line 68 of file StackID.h.

References m_cfa.

Referenced by lldb_private::StackFrame::StackFrame().

◆ SetPC()

void lldb_private::StackID::SetPC ( lldb::addr_t  pc)
inlineprotected

Definition at line 66 of file StackID.h.

References m_pc, and pc.

Referenced by lldb_private::StackFrame::UpdatePreviousFrameFromCurrentFrame().

◆ SetSymbolContextScope()

void lldb_private::StackID::SetSymbolContextScope ( SymbolContextScope symbol_scope)
inline

Definition at line 37 of file StackID.h.

References m_symbol_scope.

Referenced by lldb_private::StackFrame::SetSymbolContextScope().

Friends And Related Function Documentation

◆ StackFrame

friend class StackFrame
friend

Definition at line 64 of file StackID.h.

Member Data Documentation

◆ m_cfa

lldb::addr_t lldb_private::StackID::m_cfa
protected
Initial value:
=
#define LLDB_INVALID_ADDRESS
Definition: lldb-defines.h:82

Definition at line 76 of file StackID.h.

Referenced by Clear(), Dump(), GetCallFrameAddress(), IsValid(), operator=(), and SetCFA().

◆ m_pc

lldb::addr_t lldb_private::StackID::m_pc
protected
Initial value:

Definition at line 70 of file StackID.h.

Referenced by Clear(), Dump(), GetPC(), IsValid(), operator=(), and SetPC().

◆ m_symbol_scope

SymbolContextScope* lldb_private::StackID::m_symbol_scope
protected
Initial value:
=
nullptr

Definition at line 81 of file StackID.h.

Referenced by Clear(), Dump(), GetSymbolContextScope(), operator=(), and SetSymbolContextScope().


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