LLDB  mainline
ProcessLauncher.h
Go to the documentation of this file.
1 //===-- ProcessLauncher.h ---------------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLDB_HOST_PROCESSLAUNCHER_H
10 #define LLDB_HOST_PROCESSLAUNCHER_H
11 
12 namespace lldb_private {
13 
14 class ProcessLaunchInfo;
15 class Status;
16 class HostProcess;
17 
19 public:
20  virtual ~ProcessLauncher() = default;
21  virtual HostProcess LaunchProcess(const ProcessLaunchInfo &launch_info,
22  Status &error) = 0;
23 };
24 }
25 
26 #endif
lldb_private::HostProcess
Definition: HostProcess.h:33
lldb_private::ProcessLauncher::LaunchProcess
virtual HostProcess LaunchProcess(const ProcessLaunchInfo &launch_info, Status &error)=0
error
static llvm::raw_ostream & error(Stream &strm)
Definition: CommandReturnObject.cpp:17
lldb_private::ProcessLaunchInfo
Definition: ProcessLaunchInfo.h:31
lldb_private::ProcessLauncher::~ProcessLauncher
virtual ~ProcessLauncher()=default
lldb_private::ProcessLauncher
Definition: ProcessLauncher.h:18
lldb_private::Status
Definition: Status.h:44
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
lldb_private::LineStatus::Status
@ Status