diff options
| author | Jim Ingham <jingham@apple.com> | 2018-06-26 23:54:50 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2018-06-26 23:54:50 +0000 |
| commit | d7e126c491fe3552e9845a8b274103379824323c (patch) | |
| tree | abf21c543fb3bd31bee91f0e25572b653ee20669 /lldb/source/Plugins | |
| parent | b87b9e6a83eeb0bac54f159ec93b30d7ff9d7a32 (diff) | |
| download | bcm5719-llvm-d7e126c491fe3552e9845a8b274103379824323c.tar.gz bcm5719-llvm-d7e126c491fe3552e9845a8b274103379824323c.zip | |
Use the API's to get the TargetSP.
llvm-svn: 335690
Diffstat (limited to 'lldb/source/Plugins')
| -rw-r--r-- | lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp b/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp index 7e4d116b4ca..4ca95f9e466 100644 --- a/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp +++ b/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp @@ -787,7 +787,7 @@ void ProcessWindows::OnExitProcess(uint32_t exit_code) { 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; |

