9#ifndef LLDB_TARGET_UNWIND_H
10#define LLDB_TARGET_UNWIND_H
40 bool behaves_like_zeroth_frame = (end_idx == 0);
42 for (idx = 0; idx < end_idx; idx++) {
71 bool &behaves_like_zeroth_frame) = 0;
This base class provides an interface to stack frames.
Unwind(const Unwind &)=delete
std::recursive_mutex m_unwind_mutex
const Unwind & operator=(const Unwind &)=delete
lldb::RegisterContextSP CreateRegisterContextForFrame(StackFrame *frame)
virtual uint32_t DoGetFrameCount()=0
virtual ~Unwind()=default
bool GetFrameInfoAtIndex(uint32_t frame_idx, lldb::addr_t &cfa, lldb::addr_t &pc, bool &behaves_like_zeroth_frame)
virtual lldb::RegisterContextSP DoCreateRegisterContextForFrame(StackFrame *frame)=0
uint32_t GetFramesUpTo(uint32_t end_idx)
virtual bool DoGetFrameInfoAtIndex(uint32_t frame_idx, lldb::addr_t &cfa, lldb::addr_t &pc, bool &behaves_like_zeroth_frame)=0
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::RegisterContext > RegisterContextSP