LLDB mainline
|
#include <cerrno>
#include <climits>
#include <cstdlib>
#include <sys/types.h>
#include <dlfcn.h>
#include <grp.h>
#include <netdb.h>
#include <pwd.h>
#include <sys/stat.h>
#include <unistd.h>
#include <csignal>
#include "lldb/Host/FileAction.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Host/Host.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Host/HostProcess.h"
#include "lldb/Host/MonitoringProcessLauncher.h"
#include "lldb/Host/ProcessLaunchInfo.h"
#include "lldb/Host/ProcessLauncher.h"
#include "lldb/Host/ThreadLauncher.h"
#include "lldb/Host/posix/ConnectionFileDescriptorPosix.h"
#include "lldb/Utility/FileSpec.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/Predicate.h"
#include "lldb/Utility/Status.h"
#include "lldb/lldb-private-forward.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Support/Errno.h"
#include "llvm/Support/FileSystem.h"
#include "lldb/Host/posix/ProcessLauncherPosixFork.h"
#include <syslog.h>
Go to the source code of this file.
Classes | |
class | ScopedPThreadCancelDisabler |
struct | ShellInfo |
Functions | |
static thread_result_t | MonitorChildProcessThreadFunction (::pid_t pid, Host::MonitorChildProcessCallback callback) |
static bool | CheckForMonitorCancellation () |
static void | MonitorShellCommand (std::shared_ptr< ShellInfo > shell_info, lldb::pid_t pid, int signo, int status) |
|
static |
Definition at line 173 of file common/Host.cpp.
Referenced by MonitorChildProcessThreadFunction().
|
static |
Definition at line 186 of file common/Host.cpp.
References CheckForMonitorCancellation(), lldb_private::GetLog(), LLDB_LOG, and lldb_private::Process.
Referenced by lldb_private::Host::StartMonitoringChildProcess().
|
static |
Definition at line 392 of file common/Host.cpp.
References lldb_private::eBroadcastAlways.
Referenced by lldb_private::Host::RunShellCommand().