Skip to content

Commit ea7a963

Browse files
committed
[lldb] Convert DebuggerThread.cpp to new Status API (NFC)
(cherry picked from commit 11084c5)
1 parent 0be0aef commit ea7a963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/Process/Windows/Common/DebuggerThread.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Status DebuggerThread::DebugAttach(lldb::pid_t pid,
7575
return DebuggerThreadAttachRoutine(pid, attach_info);
7676
});
7777
if (!secondary_thread) {
78-
result = Status(secondary_thread.takeError());
78+
result = Status::FromError(secondary_thread.takeError());
7979
LLDB_LOG(log, "couldn't attach to process '{0}'. {1}", pid, result);
8080
}
8181

0 commit comments

Comments
 (0)