[Lldb-commits] [lldb] r335690 - Use the API's to get the TargetSP.
Jim Ingham via lldb-commits
lldb-commits at lists.llvm.org
Tue Jun 26 16:54:50 PDT 2018
Author: jingham
Date: Tue Jun 26 16:54:50 2018
New Revision: 335690
URL: http://llvm.org/viewvc/llvm-project?rev=335690&view=rev
Log:
Use the API's to get the TargetSP.
Modified:
lldb/trunk/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
Modified: lldb/trunk/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Windows/Common/ProcessWindows.cpp?rev=335690&r1=335689&r2=335690&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Windows/Common/ProcessWindows.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Windows/Common/ProcessWindows.cpp Tue Jun 26 16:54:50 2018
@@ -787,7 +787,7 @@ void ProcessWindows::OnExitProcess(uint3
Log *log = ProcessWindowsLog::GetLogIfAny(WINDOWS_LOG_PROCESS);
LLDB_LOG(log, "Process {0} exited with code {1}", GetID(), exit_code);
- TargetSP target = m_target_sp.lock();
+ TargetSP target = CalculateTarget();
if (target) {
ModuleSP executable_module = target->GetExecutableModule();
ModuleList unloaded_modules;
More information about the lldb-commits
mailing list