#include "lldb/Host/Host.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Host/posix/HostProcessPosix.h"
#include "llvm/ADT/STLExtras.h"
#include <climits>
#include <csignal>
#include <unistd.h>
usingnamespacelldb_private;
static const int kInvalidPosixProcess = …;
HostProcessPosix::HostProcessPosix()
: … { … }
HostProcessPosix::HostProcessPosix(lldb::process_t process)
: … { … }
HostProcessPosix::~HostProcessPosix() = default;
Status HostProcessPosix::Signal(int signo) const { … }
Status HostProcessPosix::Signal(lldb::process_t process, int signo) { … }
Status HostProcessPosix::Terminate() { … }
lldb::pid_t HostProcessPosix::GetProcessId() const { … }
bool HostProcessPosix::IsRunning() const { … }
llvm::Expected<HostThread> HostProcessPosix::StartMonitoring(
const Host::MonitorChildProcessCallback &callback) { … }