Searched refs:launch_info (Results 1 - 25 of 55) sorted by relevance

123

/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Host/posix/
H A DProcessLauncherPosixFork.h18 HostProcess LaunchProcess(const ProcessLaunchInfo &launch_info,
/freebsd-12-stable/contrib/llvm-project/lldb/source/Host/common/
H A DMonitoringProcessLauncher.cpp25 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 DHost.cpp487 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 DMonitoringProcessLauncher.h22 /// 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 DProcessLauncher.h21 virtual HostProcess LaunchProcess(const ProcessLaunchInfo &launch_info,
H A DHost.h186 /// 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 DDarwinProcessLauncher.h30 /// \param[inout] launch_info
42 LaunchInferior(ProcessLaunchInfo &launch_info, int *pty_master_fd,
H A DDarwinProcessLauncher.cpp266 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 DPlatformNetBSD.cpp189 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 DPlatformNetBSD.h47 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 DProcessLauncherPosixFork.cpp179 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 DPlatformFreeBSD.h52 Status LaunchProcess(ProcessLaunchInfo &launch_info) override;
H A DPlatformFreeBSD.cpp247 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 DStructuredDataDarwinLog.h86 static Status FilterLaunchInfo(ProcessLaunchInfo &launch_info,
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.cpp368 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 DPlatform.cpp1005 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 DRemoteAwarePlatform.cpp264 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 DSBPlatform.i178 Launch (lldb::SBLaunchInfo &launch_info);
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunication.cpp927 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 DSBPlatform.h135 SBError Launch(SBLaunchInfo &launch_info);
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Target/
H A DRemoteAwarePlatform.h87 Status LaunchProcess(ProcessLaunchInfo &launch_info) override;
H A DProcess.h105 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 DPlatformPOSIX.h52 lldb::ProcessSP DebugProcess(lldb_private::ProcessLaunchInfo &launch_info,
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/
H A DProcessFreeBSD.cpp359 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 DCommandObjectProcess.cpp184 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...]

Completed in 513 milliseconds

123