21 : m_opaque_sp{std::move(trace_cursor_sp)} {
130 return this->
operator bool();
133SBTraceCursor::operator bool()
const {
136 return m_opaque_sp.get() !=
nullptr;
#define LLDB_INSTRUMENT_VA(...)
lldb::user_id_t GetId() const
lldb::addr_t GetLoadAddress() const
lldb::TraceCursorSP m_opaque_sp
bool IsForwards() const
Check if the direction to use in the SBTraceCursor::Next() method is forwards.
const char * GetEventTypeAsString() const
bool GoToId(lldb::user_id_t id)
Instruction identifiers:
bool IsInstruction() const
void Next()
Move the cursor to the next item (instruction or error).
const char * GetError() const
SBTraceCursor()
Default constructor for an invalid SBTraceCursor object.
lldb::TraceEvent GetEventType() const
lldb::TraceItemKind GetItemKind() const
Trace item information (instructions, errors and events)
void SetForwards(bool forwards)
Set the direction to use in the SBTraceCursor::Next() method.
lldb::cpu_id_t GetCPU() const
bool Seek(int64_t offset, lldb::TraceCursorSeekType origin)
Make the cursor point to an item in the trace based on an origin point and an offset.
bool HasId(lldb::user_id_t id) const
A uniqued constant string class.
const char * GetCString() const
Get the string value as a C string.
A class that represents a running process on the host machine.
TraceEvent
Events that might happen during a trace session.
TraceCursorSeekType
Enum to indicate the reference point when invoking TraceCursor::Seek().
std::shared_ptr< lldb_private::TraceCursor > TraceCursorSP