@@ -24,36 +24,43 @@ SBTraceCursor::SBTraceCursor(TraceCursorSP trace_cursor_sp)
24
24
25
25
void SBTraceCursor::SetForwards (bool forwards) {
26
26
LLDB_INSTRUMENT_VA (this , forwards);
27
+
27
28
m_opaque_sp->SetForwards (forwards);
28
29
}
29
30
30
31
bool SBTraceCursor::IsForwards () const {
31
32
LLDB_INSTRUMENT_VA (this );
33
+
32
34
return m_opaque_sp->IsForwards ();
33
35
}
34
36
35
37
void SBTraceCursor::Next () {
36
38
LLDB_INSTRUMENT_VA (this );
39
+
37
40
return m_opaque_sp->Next ();
38
41
}
39
42
40
43
bool SBTraceCursor::HasValue () const {
41
44
LLDB_INSTRUMENT_VA (this );
45
+
42
46
return m_opaque_sp->HasValue ();
43
47
}
44
48
45
49
bool SBTraceCursor::GoToId (lldb::user_id_t id) {
46
50
LLDB_INSTRUMENT_VA (this , id);
51
+
47
52
return m_opaque_sp->GoToId (id);
48
53
}
49
54
50
55
bool SBTraceCursor::HasId (lldb::user_id_t id) const {
51
56
LLDB_INSTRUMENT_VA (this , id);
57
+
52
58
return m_opaque_sp->HasId (id);
53
59
}
54
60
55
61
lldb::user_id_t SBTraceCursor::GetId () const {
56
62
LLDB_INSTRUMENT_VA (this );
63
+
57
64
return m_opaque_sp->GetId ();
58
65
}
59
66
@@ -65,41 +72,49 @@ bool SBTraceCursor::Seek(int64_t offset, lldb::TraceCursorSeekType origin) {
65
72
66
73
lldb::TraceItemKind SBTraceCursor::GetItemKind () const {
67
74
LLDB_INSTRUMENT_VA (this );
75
+
68
76
return m_opaque_sp->GetItemKind ();
69
77
}
70
78
71
79
bool SBTraceCursor::IsError () const {
72
80
LLDB_INSTRUMENT_VA (this );
81
+
73
82
return m_opaque_sp->IsError ();
74
83
}
75
84
76
85
const char *SBTraceCursor::GetError () const {
77
86
LLDB_INSTRUMENT_VA (this );
87
+
78
88
return m_opaque_sp->GetError ();
79
89
}
80
90
81
91
bool SBTraceCursor::IsEvent () const {
82
92
LLDB_INSTRUMENT_VA (this );
93
+
83
94
return m_opaque_sp->IsEvent ();
84
95
}
85
96
86
97
lldb::TraceEvent SBTraceCursor::GetEventType () const {
87
98
LLDB_INSTRUMENT_VA (this );
99
+
88
100
return m_opaque_sp->GetEventType ();
89
101
}
90
102
91
103
const char *SBTraceCursor::GetEventTypeAsString () const {
92
104
LLDB_INSTRUMENT_VA (this );
105
+
93
106
return m_opaque_sp->GetEventTypeAsString ();
94
107
}
95
108
96
109
bool SBTraceCursor::IsInstruction () const {
97
110
LLDB_INSTRUMENT_VA (this );
111
+
98
112
return m_opaque_sp->IsInstruction ();
99
113
}
100
114
101
115
lldb::addr_t SBTraceCursor::GetLoadAddress () const {
102
116
LLDB_INSTRUMENT_VA (this );
117
+
103
118
return m_opaque_sp->GetLoadAddress ();
104
119
}
105
120
@@ -111,6 +126,7 @@ lldb::cpu_id_t SBTraceCursor::GetCPU() const {
111
126
112
127
bool SBTraceCursor::IsValid () const {
113
128
LLDB_INSTRUMENT_VA (this );
129
+
114
130
return this ->operator bool ();
115
131
}
116
132
0 commit comments