Skip to content

Commit b24ffa6

Browse files
committed
[lldb] Update ProcessLauncherWinows to new Status API
1 parent 6a74b0e commit b24ffa6

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)