Beispiel #1
0
SBExecutionContext::SBExecutionContext (lldb::SBThread thread) :
m_exe_ctx_sp(new ExecutionContextRef())
{
    m_exe_ctx_sp->SetThreadPtr(thread.get());
}
SBThreadPlan::SBThreadPlan(lldb::SBThread &sb_thread, const char *class_name) {
  Thread *thread = sb_thread.get();
  if (thread)
    m_opaque_sp.reset(new ThreadPlanPython(*thread, class_name));
}