/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Host/posix/ |
H A D | ProcessLauncherPosixFork.h | 18 HostProcess LaunchProcess(const ProcessLaunchInfo &launch_info,
|
/freebsd-12-stable/contrib/llvm-project/lldb/source/Host/common/ |
H A D | MonitoringProcessLauncher.cpp | 25 MonitoringProcessLauncher::LaunchProcess(const ProcessLaunchInfo &launch_info, argument 27 ProcessLaunchInfo resolved_info(launch_info); 55 assert(launch_info.GetMonitorProcessCallback()); 57 process.StartMonitoring(launch_info.GetMonitorProcessCallback(), 58 launch_info.GetMonitorSignals());
|
H A D | Host.cpp | 487 ProcessLaunchInfo launch_info; local 488 launch_info.SetArchitecture(HostInfo::GetArchitecture()); 491 launch_info.SetShell(HostInfo::GetDefaultShell()); 492 launch_info.GetArguments().AppendArguments(args); 496 launch_info.ConvertArgumentsForLaunchingInShell( 501 launch_info.SetArguments(args, first_arg_is_executable); 505 launch_info.SetWorkingDirectory(working_dir); 524 launch_info.AppendSuppressFileAction(STDIN_FILENO, true, false); 526 launch_info.AppendOpenFileAction(STDOUT_FILENO, output_file_spec, false, 529 launch_info 593 LaunchProcess(ProcessLaunchInfo &launch_info) argument [all...] |
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Host/ |
H A D | MonitoringProcessLauncher.h | 22 /// Launch the process specified in launch_info. The monitoring callback in 23 /// launch_info must be set, and it will be called when the process 25 HostProcess LaunchProcess(const ProcessLaunchInfo &launch_info,
|
H A D | ProcessLauncher.h | 21 virtual HostProcess LaunchProcess(const ProcessLaunchInfo &launch_info,
|
H A D | Host.h | 186 /// Launch the process specified in launch_info. The monitoring callback in 187 /// launch_info must be set, and it will be called when the process 189 static Status LaunchProcess(ProcessLaunchInfo &launch_info); 196 static Status ShellExpandArguments(ProcessLaunchInfo &launch_info);
|
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Process/Darwin/ |
H A D | DarwinProcessLauncher.h | 30 /// \param[inout] launch_info 42 LaunchInferior(ProcessLaunchInfo &launch_info, int *pty_master_fd,
|
H A D | DarwinProcessLauncher.cpp | 266 ProcessLaunchInfo &launch_info, 283 launch_info.Dump(stream, nullptr); 301 if (launch_info.GetFlags().Test(eLaunchFlagDisableASLR)) 327 cpu_type_t desired_cpu_type = launch_info.GetArchitecture().GetMachOCPUType(); 370 const size_t num_actions = launch_info.GetNumFileActions(); 373 launch_info.GetFileActionAtIndex(action_index); 390 launch_info.GetWorkingDirectory().GetCString(); 394 auto argv = launch_info.GetArguments().GetArgumentVector(); 395 auto envp = launch_info.GetEnvironmentEntries().GetArgumentVector(); 426 Status LaunchInferior(ProcessLaunchInfo &launch_info, in argument 265 PosixSpawnChildForPTraceDebugging(const char *path, ProcessLaunchInfo &launch_info, ::pid_t *pid, cpu_type_t *actual_cpu_type) argument [all...] |
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Platform/NetBSD/ |
H A D | PlatformNetBSD.cpp | 189 PlatformNetBSD::GetResumeCountForLaunchInfo(ProcessLaunchInfo &launch_info) { argument 193 if (launch_info.GetFlags().Test(eLaunchFlagDebug)) { 199 const FileSpec &shell = launch_info.GetShell(); 236 PlatformNetBSD::DebugProcess(ProcessLaunchInfo &launch_info, Debugger &debugger, argument 245 return PlatformPOSIX::DebugProcess(launch_info, debugger, target, error); 255 launch_info.GetFlags().Set(eLaunchFlagDebug); 260 launch_info.SetLaunchInSeparateProcessGroup(true); 287 target->CreateProcess(launch_info.GetListener(), "gdb-remote", nullptr); 298 if (!launch_info.GetHijackListener()) { 302 launch_info [all...] |
H A D | PlatformNetBSD.h | 47 int32_t GetResumeCountForLaunchInfo(ProcessLaunchInfo &launch_info) override; 51 lldb::ProcessSP DebugProcess(ProcessLaunchInfo &launch_info,
|
/freebsd-12-stable/contrib/llvm-project/lldb/source/Host/posix/ |
H A D | ProcessLauncherPosixFork.cpp | 179 ProcessLauncherPosixFork::LaunchProcess(const ProcessLaunchInfo &launch_info, argument 182 launch_info.GetExecutableFile().GetPath(exe_path, sizeof(exe_path)); 201 ChildFunc(pipe.ReleaseWriteFileDescriptor(), launch_info);
|
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Platform/FreeBSD/ |
H A D | PlatformFreeBSD.h | 52 Status LaunchProcess(ProcessLaunchInfo &launch_info) override;
|
H A D | PlatformFreeBSD.cpp | 247 Status PlatformFreeBSD::LaunchProcess(ProcessLaunchInfo &launch_info) { argument 250 error = Platform::LaunchProcess(launch_info); 253 error = m_remote_platform_sp->LaunchProcess(launch_info);
|
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/StructuredData/DarwinLog/ |
H A D | StructuredDataDarwinLog.h | 86 static Status FilterLaunchInfo(ProcessLaunchInfo &launch_info,
|
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Platform/gdb-server/ |
H A D | PlatformRemoteGDBServer.cpp | 368 Status PlatformRemoteGDBServer::LaunchProcess(ProcessLaunchInfo &launch_info) { argument 374 auto num_file_actions = launch_info.GetNumFileActions(); 376 const auto file_action = launch_info.GetFileActionAtIndex(i); 393 launch_info.GetFlags().Test(eLaunchFlagDisableASLR)); 395 launch_info.GetFlags().Test(eLaunchFlagDetachOnError)); 397 FileSpec working_dir = launch_info.GetWorkingDirectory(); 403 m_gdb_client.SendEnvironment(launch_info.GetEnvironment()); 405 ArchSpec arch_spec = launch_info.GetArchitecture(); 419 arg_packet_err = m_gdb_client.SendArgumentsPacket(launch_info); 427 launch_info 457 DebugProcess( ProcessLaunchInfo &launch_info, Debugger &debugger, Target *target, Status &error) argument [all...] |
/freebsd-12-stable/contrib/llvm-project/lldb/source/Target/ |
H A D | Platform.cpp | 1005 Status Platform::LaunchProcess(ProcessLaunchInfo &launch_info) { argument 1014 launch_info.GetFlags().Set(eLaunchFlagLaunchInTTY); 1016 if (launch_info.GetFlags().Test(eLaunchFlagLaunchInShell)) { 1018 const bool will_debug = launch_info.GetFlags().Test(eLaunchFlagDebug); 1020 uint32_t num_resumes = GetResumeCountForLaunchInfo(launch_info); 1022 const FileSpec &shell = launch_info.GetShell(); 1030 if (!launch_info.ConvertArgumentsForLaunchingInShell( 1034 } else if (launch_info.GetFlags().Test(eLaunchFlagShellExpandArguments)) { 1035 error = ShellExpandArguments(launch_info); 1045 LLDB_LOGF(log, "Platform::%s final launch_info resum 1055 ShellExpandArguments(ProcessLaunchInfo &launch_info) argument 1088 DebugProcess(ProcessLaunchInfo &launch_info, Debugger &debugger, Target *target, Status &error) argument [all...] |
H A D | RemoteAwarePlatform.cpp | 264 Status RemoteAwarePlatform::LaunchProcess(ProcessLaunchInfo &launch_info) { argument 268 error = Platform::LaunchProcess(launch_info); 271 error = m_remote_platform_sp->LaunchProcess(launch_info);
|
/freebsd-12-stable/contrib/llvm-project/lldb/bindings/interface/ |
H A D | SBPlatform.i | 178 Launch (lldb::SBLaunchInfo &launch_info);
|
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteCommunication.cpp | 927 const char *url, Platform *platform, ProcessLaunchInfo &launch_info, 938 FileSpec &debugserver_file_spec = launch_info.GetExecutableFile(); 994 Args &debugserver_args = launch_info.GetArguments(); 1015 launch_info.AppendDuplicateFileAction(pass_comm_fd, pass_comm_fd); 1021 if (launch_info.GetLaunchInSeparateProcessGroup()) { 1068 launch_info.AppendCloseFileAction(socket_pipe.GetReadFileDescriptor()); 1154 launch_info.GetEnvironment() = host_env; 1157 launch_info.AppendCloseFileAction(STDIN_FILENO); 1158 launch_info.AppendCloseFileAction(STDOUT_FILENO); 1159 launch_info 926 StartDebugserverProcess( const char *url, Platform *platform, ProcessLaunchInfo &launch_info, uint16_t *port, const Args *inferior_args, int pass_comm_fd) argument [all...] |
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/API/ |
H A D | SBPlatform.h | 135 SBError Launch(SBLaunchInfo &launch_info);
|
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Target/ |
H A D | RemoteAwarePlatform.h | 87 Status LaunchProcess(ProcessLaunchInfo &launch_info) override;
|
H A D | Process.h | 105 ProcessAttachInfo(const ProcessLaunchInfo &launch_info) argument 110 ProcessInfo::operator=(launch_info); 111 SetProcessPluginName(launch_info.GetProcessPluginName()); 112 SetResumeCount(launch_info.GetResumeCount()); 113 SetListener(launch_info.GetListener()); 114 SetHijackListener(launch_info.GetHijackListener()); 115 m_detach_on_error = launch_info.GetDetachOnError(); 213 launch_info.Clear(); 221 ProcessLaunchInfo launch_info; member in class:lldb_private::ProcessLaunchCommandOptions 599 /// \param[in] launch_info 1011 DoLaunch(Module *exe_module, ProcessLaunchInfo &launch_info) argument [all...] |
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Platform/POSIX/ |
H A D | PlatformPOSIX.h | 52 lldb::ProcessSP DebugProcess(lldb_private::ProcessLaunchInfo &launch_info,
|
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ |
H A D | ProcessFreeBSD.cpp | 359 ProcessLaunchInfo &launch_info) { 363 FileSpec working_dir = launch_info.GetWorkingDirectory(); 382 const FileSpec dbg_pts_file_spec{launch_info.GetPTY().GetSlaveName(NULL, 0)}; 384 file_action = launch_info.GetFileActionForFD(STDIN_FILENO); 388 file_action = launch_info.GetFileActionForFD(STDOUT_FILENO); 392 file_action = launch_info.GetFileActionForFD(STDERR_FILENO); 397 this, module, launch_info.GetArguments().GetConstArgumentVector(), 398 launch_info.GetEnvironment(), stdin_file_spec, stdout_file_spec, 399 stderr_file_spec, working_dir, launch_info, error); 358 DoLaunch(Module *module, ProcessLaunchInfo &launch_info) argument
|
/freebsd-12-stable/contrib/llvm-project/lldb/source/Commands/ |
H A D | CommandObjectProcess.cpp | 184 m_options.launch_info.GetFlags().Set(eLaunchFlagDisableASLR); 186 m_options.launch_info.GetFlags().Clear(eLaunchFlagDisableASLR); 189 m_options.launch_info.GetFlags().Set(eLaunchFlagDetachOnError); 192 m_options.launch_info.GetFlags().Set(eLaunchFlagDisableSTDIO); 196 m_options.launch_info.GetEnvironment().insert(target_env.begin(), 200 m_options.launch_info.GetArguments().AppendArgument( 202 m_options.launch_info.SetExecutableFile( 205 m_options.launch_info.SetExecutableFile( 210 m_options.launch_info.GetArguments().AppendArguments( 213 m_options.launch_info [all...] |