forked from OSchip/llvm-project
[lldb] Fix two more issues in Windows following rL365226: Change LaunchThread interface to return an expected
A couple of the function signatures changed and they were not updated in the Windows HostProcess llvm-svn: 365388
This commit is contained in:
parent
2f07c2e9d9
commit
05590baa07
|
@ -30,8 +30,9 @@ public:
|
|||
lldb::pid_t GetProcessId() const override;
|
||||
bool IsRunning() const override;
|
||||
|
||||
HostThread StartMonitoring(const Host::MonitorChildProcessCallback &callback,
|
||||
bool monitor_signals) override;
|
||||
virtual llvm::Expected<HostThread>
|
||||
StartMonitoring(const Host::MonitorChildProcessCallback &callback,
|
||||
bool monitor_signals) override;
|
||||
|
||||
private:
|
||||
static lldb::thread_result_t MonitorThread(void *thread_arg);
|
||||
|
|
|
@ -94,7 +94,7 @@ llvm::Expected<HostThread> HostProcessWindows::StartMonitoring(
|
|||
&info->process_handle, 0, FALSE, DUPLICATE_SAME_ACCESS))
|
||||
result = ThreadLauncher::LaunchThread("ChildProcessMonitor",
|
||||
HostProcessWindows::MonitorThread,
|
||||
info, nullptr);
|
||||
info);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue