Author: Adrian Prantl Date: 2024-08-27T17:25:17-07:00 New Revision: 32abe5d49b758edef0f0c19090361a6fe85c4092
URL: https://github.com/llvm/llvm-project/commit/32abe5d49b758edef0f0c19090361a6fe85c4092 DIFF: https://github.com/llvm/llvm-project/commit/32abe5d49b758edef0f0c19090361a6fe85c4092.diff LOG: [lldb] Adapt WindowsMiniDump to new Status API Added: Modified: lldb/source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.cpp Removed: ################################################################################ diff --git a/lldb/source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.cpp b/lldb/source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.cpp index 964787b2b9e6e0..e3938ad2f977dd 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; _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits