Skip to content

Commit 2463fd0

Browse files
committed
[lldb] Update ProcessLauncherWinows to new Status API
(cherry picked from commit b24ffa6)
1 parent 5589111 commit 2463fd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Host/windows/ProcessLauncherWindows.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ ProcessLauncherWindows::LaunchProcess(const ProcessLaunchInfo &launch_info,
120120

121121
if (!result) {
122122
// Call GetLastError before we make any other system calls.
123-
error.SetError(::GetLastError(), eErrorTypeWin32);
123+
error = Status(::GetLastError(), eErrorTypeWin32);
124124
// Note that error 50 ("The request is not supported") will occur if you
125125
// try debug a 64-bit inferior from a 32-bit LLDB.
126126
}

0 commit comments

Comments
 (0)