[Lldb-commits] [lldb] 11084c5 - [lldb] Convert DebuggerThread.cpp to new Status API (NFC)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Thu Sep 5 18:01:09 PDT 2024
Author: Adrian Prantl
Date: 2024-09-05T18:00:53-07:00
New Revision: 11084c5c49f8bb7825f81adc5b7140b3506fe253
URL: https://github.com/llvm/llvm-project/commit/11084c5c49f8bb7825f81adc5b7140b3506fe253
DIFF: https://github.com/llvm/llvm-project/commit/11084c5c49f8bb7825f81adc5b7140b3506fe253.diff
LOG: [lldb] Convert DebuggerThread.cpp to new Status API (NFC)
Added:
Modified:
lldb/source/Plugins/Process/Windows/Common/DebuggerThread.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/Process/Windows/Common/DebuggerThread.cpp b/lldb/source/Plugins/Process/Windows/Common/DebuggerThread.cpp
index 9a5fcd88e12820..d62eb26ca1a293 100644
--- a/lldb/source/Plugins/Process/Windows/Common/DebuggerThread.cpp
+++ b/lldb/source/Plugins/Process/Windows/Common/DebuggerThread.cpp
@@ -75,7 +75,7 @@ Status DebuggerThread::DebugAttach(lldb::pid_t pid,
return DebuggerThreadAttachRoutine(pid, attach_info);
});
if (!secondary_thread) {
- result = Status(secondary_thread.takeError());
+ result = Status::FromError(secondary_thread.takeError());
LLDB_LOG(log, "couldn't attach to process '{0}'. {1}", pid, result);
}
More information about the lldb-commits
mailing list