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
12namespace lldb_private {
13
14class ProcessLaunchInfo;
15class Status;
16class HostProcess;
17
19public:
20 virtual ~ProcessLauncher() = default;
21 virtual HostProcess LaunchProcess(const ProcessLaunchInfo &launch_info,
22 Status &error) = 0;
23};
24}
25
26#endif
static llvm::raw_ostream & error(Stream &strm)
virtual ~ProcessLauncher()=default
virtual HostProcess LaunchProcess(const ProcessLaunchInfo &launch_info, Status &error)=0
An error handling class.
Definition: Status.h:44
A class that represents a running process on the host machine.
Definition: SBAttachInfo.h:14