Skip to content

Commit

Permalink
[lldb] Convert DebuggerThread.cpp to new Status API (NFC)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-prantl authored and VitaNuo committed Sep 12, 2024
1 parent ecad68f commit ca322cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit ca322cc

Please sign in to comment.