Skip to content

Commit fbf2c6a

Browse files
committed
[lldb] Adapt WindowsMiniDump to new Status API
(cherry picked from commit 32abe5d)
1 parent 4983734 commit fbf2c6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ bool SaveMiniDump(const lldb::ProcessSP &process_sp,
4747
::CloseHandle(file_handle);
4848
::CloseHandle(process_handle);
4949
if (!result) {
50-
error.SetError(::GetLastError(), lldb::eErrorTypeWin32);
50+
error = Status(::GetLastError(), lldb::eErrorTypeWin32);
5151
return false;
5252
}
5353
return true;

0 commit comments

Comments
 (0)