Skip to content

Commit 32abe5d

Browse files
committed
[lldb] Adapt WindowsMiniDump to new Status API
1 parent 6ae657b commit 32abe5d

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
@@ -48,7 +48,7 @@ bool SaveMiniDump(const lldb::ProcessSP &process_sp,
4848
::CloseHandle(file_handle);
4949
::CloseHandle(process_handle);
5050
if (!result) {
51-
error.SetError(::GetLastError(), lldb::eErrorTypeWin32);
51+
error = Status(::GetLastError(), lldb::eErrorTypeWin32);
5252
return false;
5353
}
5454
return true;

0 commit comments

Comments
 (0)