LLDB  mainline
Public Member Functions | Protected Member Functions | List of all members
lldb_private::HistoryUnwind Class Reference

#include <HistoryUnwind.h>

Inheritance diagram for lldb_private::HistoryUnwind:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::HistoryUnwind:
Collaboration graph
[legend]

Public Member Functions

 HistoryUnwind (Thread &thread, std::vector< lldb::addr_t > pcs, bool stop_id_is_valid)
 
 ~HistoryUnwind () override
 
- Public Member Functions inherited from lldb_private::Unwind
virtual ~Unwind ()
 
void Clear ()
 
uint32_t GetFrameCount ()
 
uint32_t GetFramesUpTo (uint32_t end_idx)
 
bool GetFrameInfoAtIndex (uint32_t frame_idx, lldb::addr_t &cfa, lldb::addr_t &pc)
 
lldb::RegisterContextSP CreateRegisterContextForFrame (StackFrame *frame)
 
ThreadGetThread ()
 

Protected Member Functions

void DoClear () override
 
lldb::RegisterContextSP DoCreateRegisterContextForFrame (StackFrame *frame) override
 
bool DoGetFrameInfoAtIndex (uint32_t frame_idx, lldb::addr_t &cfa, lldb::addr_t &pc) override
 
uint32_t DoGetFrameCount () override
 
- Protected Member Functions inherited from lldb_private::Unwind
 Unwind (Thread &thread)
 

Additional Inherited Members

- Protected Attributes inherited from lldb_private::Unwind
Threadm_thread
 
std::recursive_mutex m_unwind_mutex
 

Detailed Description

Definition at line 19 of file HistoryUnwind.h.

Constructor & Destructor Documentation

◆ HistoryUnwind()

HistoryUnwind::HistoryUnwind ( Thread thread,
std::vector< lldb::addr_t pcs,
bool  stop_id_is_valid 
)

Definition at line 26 of file HistoryUnwind.cpp.

◆ ~HistoryUnwind()

HistoryUnwind::~HistoryUnwind ( )
override

Definition at line 32 of file HistoryUnwind.cpp.

Member Function Documentation

◆ DoClear()

void HistoryUnwind::DoClear ( )
overrideprotectedvirtual

Implements lldb_private::Unwind.

Definition at line 34 of file HistoryUnwind.cpp.

References lldb_private::Unwind::m_unwind_mutex.

◆ DoCreateRegisterContextForFrame()

lldb::RegisterContextSP HistoryUnwind::DoCreateRegisterContextForFrame ( StackFrame frame)
overrideprotectedvirtual

◆ DoGetFrameCount()

uint32_t HistoryUnwind::DoGetFrameCount ( )
overrideprotectedvirtual

Implements lldb_private::Unwind.

Definition at line 68 of file HistoryUnwind.cpp.

◆ DoGetFrameInfoAtIndex()

bool HistoryUnwind::DoGetFrameInfoAtIndex ( uint32_t  frame_idx,
lldb::addr_t cfa,
lldb::addr_t pc 
)
overrideprotectedvirtual

Implements lldb_private::Unwind.

Definition at line 55 of file HistoryUnwind.cpp.

References lldb_private::Unwind::m_unwind_mutex.


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