mirror of
https://github.com/intel/llvm.git
synced 2026-02-02 02:00:03 +08:00
[API] Extend the SBThreadPlan interface
Summary: This patch extends the `SBThreadPlan` to allow retrieving of thread plans for scripted steps. Reviewers: labath, zturner, jingham Reviewed By: jingham Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D53361 llvm-svn: 345247
This commit is contained in:
@@ -207,3 +207,13 @@ SBThreadPlan::QueueThreadPlanForRunToAddress(SBAddress sb_address) {
|
||||
return SBThreadPlan();
|
||||
}
|
||||
}
|
||||
|
||||
SBThreadPlan
|
||||
SBThreadPlan::QueueThreadPlanForStepScripted(const char *script_class_name) {
|
||||
if (m_opaque_sp) {
|
||||
return SBThreadPlan(m_opaque_sp->GetThread().QueueThreadPlanForStepScripted(
|
||||
false, script_class_name, false));
|
||||
} else {
|
||||
return SBThreadPlan();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user