diff options
| author | Mehdi Amini <mehdi.amini@apple.com> | 2016-11-11 05:07:57 +0000 |
|---|---|---|
| committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-11-11 05:07:57 +0000 |
| commit | 665be50e37b370f17e0dcaad79f7bd64af4614cc (patch) | |
| tree | 403fe8c10a9c5fa114132390237f6d118ba56435 /lldb/source/Plugins/Process/Windows | |
| parent | e25e6da9173b473bd7075dd8afb816dfd2bd90d8 (diff) | |
| download | bcm5719-llvm-665be50e37b370f17e0dcaad79f7bd64af4614cc.tar.gz bcm5719-llvm-665be50e37b370f17e0dcaad79f7bd64af4614cc.zip | |
Revert unwanted changes in lldb when updating llvm::Error()
My script updated lldb::Errors, and I failed to fix it entirely
before pushing. This restore everything in lldb as it was before
r286561.
llvm-svn: 286565
Diffstat (limited to 'lldb/source/Plugins/Process/Windows')
| -rw-r--r-- | lldb/source/Plugins/Process/Windows/Live/ProcessWindowsLive.cpp | 4 | ||||
| -rw-r--r-- | lldb/source/Plugins/Process/Windows/MiniDump/ProcessWinMiniDump.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/Windows/Live/ProcessWindowsLive.cpp b/lldb/source/Plugins/Process/Windows/Live/ProcessWindowsLive.cpp index 8fe93fac39f..7ddc5866a5f 100644 --- a/lldb/source/Plugins/Process/Windows/Live/ProcessWindowsLive.cpp +++ b/lldb/source/Plugins/Process/Windows/Live/ProcessWindowsLive.cpp @@ -427,7 +427,7 @@ Error ProcessWindowsLive::DoDetach(bool keep_stopped) { WINDOWS_LOG_PROCESS, "DoDetach called while state = %u, but there is no active session.", private_state); - return Error::success(); + return Error(); } debugger_thread = m_session_data->m_debugger; @@ -477,7 +477,7 @@ Error ProcessWindowsLive::DoDestroy() { WINDOWS_LOG_PROCESS, "DoDestroy called while state = %u, but there is no active session.", private_state); - return Error::success(); + return Error(); } debugger_thread = m_session_data->m_debugger; diff --git a/lldb/source/Plugins/Process/Windows/MiniDump/ProcessWinMiniDump.cpp b/lldb/source/Plugins/Process/Windows/MiniDump/ProcessWinMiniDump.cpp index 5aaeb98dc1b..128c4c16c36 100644 --- a/lldb/source/Plugins/Process/Windows/MiniDump/ProcessWinMiniDump.cpp +++ b/lldb/source/Plugins/Process/Windows/MiniDump/ProcessWinMiniDump.cpp @@ -587,7 +587,7 @@ void ProcessWinMiniDump::RefreshStateAfterStop() { return m_impl_up->RefreshStateAfterStop(); } -Error ProcessWinMiniDump::DoDestroy() { return Error::success(); } +Error ProcessWinMiniDump::DoDestroy() { return Error(); } bool ProcessWinMiniDump::IsAlive() { return true; } |

