summaryrefslogtreecommitdiff
path: root/source/Host/windows/HostProcessWindows.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-05-16 19:47:58 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-05-16 19:47:58 +0000
commitb76161e41bc2c07cd47f9c61f875d1be95e26d10 (patch)
treed03c19ce10dec6419f97df1d4dac9d47eb88982f /source/Host/windows/HostProcessWindows.cpp
parent8b4000f13b303cc154136abc74c55670673e2a96 (diff)
Notes
Diffstat (limited to 'source/Host/windows/HostProcessWindows.cpp')
-rw-r--r--source/Host/windows/HostProcessWindows.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/Host/windows/HostProcessWindows.cpp b/source/Host/windows/HostProcessWindows.cpp
index 3bbc84a4ca59..49d42ce05422 100644
--- a/source/Host/windows/HostProcessWindows.cpp
+++ b/source/Host/windows/HostProcessWindows.cpp
@@ -37,8 +37,8 @@ HostProcessWindows::~HostProcessWindows() { Close(); }
void HostProcessWindows::SetOwnsHandle(bool owns) { m_owns_handle = owns; }
-Error HostProcessWindows::Terminate() {
- Error error;
+Status HostProcessWindows::Terminate() {
+ Status error;
if (m_process == nullptr)
error.SetError(ERROR_INVALID_HANDLE, lldb::eErrorTypeWin32);
@@ -48,8 +48,8 @@ Error HostProcessWindows::Terminate() {
return error;
}
-Error HostProcessWindows::GetMainModule(FileSpec &file_spec) const {
- Error error;
+Status HostProcessWindows::GetMainModule(FileSpec &file_spec) const {
+ Status error;
if (m_process == nullptr)
error.SetError(ERROR_INVALID_HANDLE, lldb::eErrorTypeWin32);