llvm/lldb/source/Host/common/ProcessLaunchInfo.cpp

//===-- ProcessLaunchInfo.cpp ---------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include <climits>

#include "lldb/Host/Config.h"
#include "lldb/Host/FileAction.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Host/ProcessLaunchInfo.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/StreamString.h"

#include "llvm/Support/ConvertUTF.h"
#include "llvm/Support/FileSystem.h"

#if !defined(_WIN32)
#include <climits>
#endif

usingnamespacelldb;
usingnamespacelldb_private;

// ProcessLaunchInfo member functions

ProcessLaunchInfo::ProcessLaunchInfo()
    :{}

ProcessLaunchInfo::ProcessLaunchInfo(const FileSpec &stdin_file_spec,
                                     const FileSpec &stdout_file_spec,
                                     const FileSpec &stderr_file_spec,
                                     const FileSpec &working_directory,
                                     uint32_t launch_flags)
    :{}

bool ProcessLaunchInfo::AppendCloseFileAction(int fd) {}

bool ProcessLaunchInfo::AppendDuplicateFileAction(int fd, int dup_fd) {}

bool ProcessLaunchInfo::AppendOpenFileAction(int fd, const FileSpec &file_spec,
                                             bool read, bool write) {}

bool ProcessLaunchInfo::AppendSuppressFileAction(int fd, bool read,
                                                 bool write) {}

const FileAction *ProcessLaunchInfo::GetFileActionAtIndex(size_t idx) const {}

const FileAction *ProcessLaunchInfo::GetFileActionForFD(int fd) const {}

const FileSpec &ProcessLaunchInfo::GetWorkingDirectory() const {}

void ProcessLaunchInfo::SetWorkingDirectory(const FileSpec &working_dir) {}

llvm::StringRef ProcessLaunchInfo::GetProcessPluginName() const {}

void ProcessLaunchInfo::SetProcessPluginName(llvm::StringRef plugin) {}

const FileSpec &ProcessLaunchInfo::GetShell() const {}

void ProcessLaunchInfo::SetShell(const FileSpec &shell) {}

void ProcessLaunchInfo::SetLaunchInSeparateProcessGroup(bool separate) {}

void ProcessLaunchInfo::SetShellExpandArguments(bool expand) {}

void ProcessLaunchInfo::Clear() {}

void ProcessLaunchInfo::NoOpMonitorCallback(lldb::pid_t pid, int signal,
                                            int status) {}

bool ProcessLaunchInfo::MonitorProcess() const {}

void ProcessLaunchInfo::SetDetachOnError(bool enable) {}

llvm::Error ProcessLaunchInfo::SetUpPtyRedirection() {}

bool ProcessLaunchInfo::ConvertArgumentsForLaunchingInShell(
    Status &error, bool will_debug, bool first_arg_is_full_shell_command,
    uint32_t num_resumes) {}