|
LLDB mainline
|
Represents a list of SBFrame objects. More...
#include <SBFrameList.h>
Public Member Functions | |
| SBFrameList () | |
| SBFrameList (const lldb::SBFrameList &rhs) | |
| ~SBFrameList () | |
| const lldb::SBFrameList & | operator= (const lldb::SBFrameList &rhs) |
| operator bool () const | |
| bool | IsValid () const |
| uint32_t | GetSize () const |
| Returns the number of frames in the list. | |
| lldb::SBFrame | GetFrameAtIndex (uint32_t idx) const |
| Returns the frame at the given index. | |
| lldb::SBThread | GetThread () const |
| Get the thread associated with this frame list. | |
| void | Clear () |
| Clear all frames from this list. | |
| bool | GetDescription (lldb::SBStream &description) const |
| Get a description of this frame list. | |
Private Member Functions | |
| SBFrameList (const lldb::StackFrameListSP &frame_list_sp) | |
| void | SetFrameList (const lldb::StackFrameListSP &frame_list_sp) |
Private Attributes | |
| lldb::StackFrameListSP | m_opaque_sp |
Friends | |
| class | SBThread |
| class | lldb_private::python::SWIGBridge |
| class | lldb_private::lua::SWIGBridge |
| class | lldb_private::ScriptInterpreter |
Represents a list of SBFrame objects.
SBFrameList provides a way to iterate over stack frames lazily, materializing frames on-demand as they are accessed. This is more efficient than eagerly creating all frames upfront.
Definition at line 31 of file SBFrameList.h.
| SBFrameList::SBFrameList | ( | ) |
Definition at line 20 of file SBFrameList.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by lldb_private::ScriptInterpreter, operator=(), and SBFrameList().
| SBFrameList::SBFrameList | ( | const lldb::SBFrameList & | rhs | ) |
Definition at line 22 of file SBFrameList.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, and SBFrameList().
|
default |
References Clear(), GetDescription(), GetFrameAtIndex(), GetSize(), GetThread(), IsValid(), and operator=().
|
private |
Definition at line 37 of file SBFrameList.cpp.
References m_opaque_sp.
| void SBFrameList::Clear | ( | ) |
Clear all frames from this list.
Definition at line 81 of file SBFrameList.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBFrameList().
| bool SBFrameList::GetDescription | ( | lldb::SBStream & | description | ) | const |
Get a description of this frame list.
| [in] | description | The stream to write the description to. |
Definition at line 88 of file SBFrameList.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb::SBStream::ref().
Referenced by ~SBFrameList().
| SBFrame SBFrameList::GetFrameAtIndex | ( | uint32_t | idx | ) | const |
Returns the frame at the given index.
| [in] | idx | The index of the frame to retrieve (0-based). |
Definition at line 63 of file SBFrameList.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, and lldb::SBFrame::SetFrameSP().
Referenced by ~SBFrameList().
| uint32_t SBFrameList::GetSize | ( | ) | const |
Returns the number of frames in the list.
Definition at line 55 of file SBFrameList.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBFrameList().
| SBThread SBFrameList::GetThread | ( | ) | const |
Get the thread associated with this frame list.
Definition at line 72 of file SBFrameList.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, SBThread, and lldb::SBThread::SetThread().
Referenced by ~SBFrameList().
| bool SBFrameList::IsValid | ( | ) | const |
Definition at line 50 of file SBFrameList.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by ~SBFrameList().
|
explicit |
Definition at line 44 of file SBFrameList.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
| const SBFrameList & SBFrameList::operator= | ( | const lldb::SBFrameList & | rhs | ) |
Definition at line 29 of file SBFrameList.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, and SBFrameList().
Referenced by ~SBFrameList().
|
private |
Definition at line 40 of file SBFrameList.cpp.
References m_opaque_sp.
Referenced by lldb::SBThread::GetFrames(), and lldb_private::ScriptInterpreter.
|
friend |
Definition at line 80 of file SBFrameList.h.
|
friend |
Definition at line 79 of file SBFrameList.h.
|
friend |
Definition at line 81 of file SBFrameList.h.
References SBFrameList(), and SetFrameList().
|
friend |
Definition at line 77 of file SBFrameList.h.
References SBThread.
Referenced by GetThread(), and SBThread.
|
private |
Definition at line 91 of file SBFrameList.h.
Referenced by Clear(), GetDescription(), GetFrameAtIndex(), lldb_private::ScriptInterpreter::GetOpaqueTypeFromSBFrameList(), GetSize(), GetThread(), operator bool(), operator=(), SBFrameList(), SBFrameList(), SBFrameList(), and SetFrameList().