@@ -138,33 +138,33 @@ lldb_private::GetStoppedExecutionContext(
138138 const ExecutionContextRef *exe_ctx_ref_ptr) {
139139 if (!exe_ctx_ref_ptr)
140140 return llvm::createStringError (
141- " ExecutionContext created with an empty ExecutionContextRef" );
141+ " StoppedExecutionContext created with an empty ExecutionContextRef" );
142142
143143 lldb::TargetSP target_sp = exe_ctx_ref_ptr->GetTargetSP ();
144144 if (!target_sp)
145145 return llvm::createStringError (
146- " ExecutionContext created with a null target" );
146+ " StoppedExecutionContext created with a null target" );
147147
148148 auto api_lock =
149149 std::unique_lock<std::recursive_mutex>(target_sp->GetAPIMutex ());
150150
151151 auto process_sp = exe_ctx_ref_ptr->GetProcessSP ();
152152 if (!process_sp)
153153 return llvm::createStringError (
154- " ExecutionContext created with a null process" );
154+ " StoppedExecutionContext created with a null process" );
155155
156156 ProcessRunLock::ProcessRunLocker stop_locker;
157157 if (!stop_locker.TryLock (&process_sp->GetRunLock ()))
158158 return llvm::createStringError (
159- " attempted to create an ExecutionContext with a running process" );
159+ " attempted to create a StoppedExecutionContext with a running process" );
160160
161161 auto thread_sp = exe_ctx_ref_ptr->GetThreadSP ();
162162 auto frame_sp = exe_ctx_ref_ptr->GetFrameSP ();
163163 return StoppedExecutionContext (target_sp, process_sp, thread_sp, frame_sp,
164164 std::move (api_lock), std::move (stop_locker));
165165}
166166
167- std::unique_lock<std::recursive_mutex> StoppedExecutionContext::Destroy () {
167+ std::unique_lock<std::recursive_mutex> StoppedExecutionContext::AllowResume () {
168168 Clear ();
169169 m_stop_locker = ProcessRunLock::ProcessRunLocker ();
170170 return std::move (m_api_lock);
0 commit comments