From 32abe5d49b758edef0f0c19090361a6fe85c4092 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Tue, 27 Aug 2024 17:25:17 -0700 Subject: [PATCH] [lldb] Adapt WindowsMiniDump to new Status API --- lldb/source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.cpp b/lldb/source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.cpp index 964787b2b9e6..e3938ad2f977 100644 --- a/lldb/source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.cpp +++ b/lldb/source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.cpp @@ -48,7 +48,7 @@ bool SaveMiniDump(const lldb::ProcessSP &process_sp, ::CloseHandle(file_handle); ::CloseHandle(process_handle); if (!result) { - error.SetError(::GetLastError(), lldb::eErrorTypeWin32); + error = Status(::GetLastError(), lldb::eErrorTypeWin32); return false; } return true; -- 2.11.4.GIT