| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | ProcessInfo.cpp | 30 m_pid(pid) {} in ProcessInfo() 39 m_pid = LLDB_INVALID_PROCESS_ID; in Clear() 114 if (m_pid != LLDB_INVALID_PROCESS_ID) in Dump() 115 s.Printf(" pid = %" PRIu64 "\n", m_pid); in Dump() 188 if (m_pid != LLDB_INVALID_PROCESS_ID) { in DumpAsTableRow() 189 s.Printf("%-6" PRIu64 " %-6" PRIu64 " ", m_pid, m_parent_pid); in DumpAsTableRow() 344 io.mapRequired("pid", Info.m_pid); in mapping()
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | ProcessInfo.h | 67 lldb::pid_t GetProcessID() const { return m_pid; } in GetProcessID() 69 void SetProcessID(lldb::pid_t pid) { m_pid = pid; } in SetProcessID() 71 bool ProcessIDIsValid() const { return m_pid != LLDB_INVALID_PROCESS_ID; } in ProcessIDIsValid() 101 lldb::pid_t m_pid = LLDB_INVALID_PROCESS_ID; variable
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/ |
| H A D | RNBContext.h | 48 nub_process_t ProcessID() const { return m_pid; } in ProcessID() 49 bool HasValidProcessID() const { return m_pid != INVALID_NUB_PROCESS; } in HasValidProcessID() 132 nub_process_t m_pid = INVALID_NUB_PROCESS;
|
| H A D | RNBContext.cpp | 79 if (m_pid != INVALID_NUB_PROCESS) { in SetProcessID() 84 m_pid = pid; in SetProcessID() 287 nub_state_t pid_state = DNBProcessGetState(m_pid); in ProcessStateRunning()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Platform/MacOSX/objcxx/ |
| H A D | PlatformiOSSimulatorCoreSimulatorSupport.h | 33 lldb::pid_t GetPID() { return m_pid; } in GetPID() 35 explicit operator bool() { return m_pid != LLDB_INVALID_PROCESS_ID; } 46 lldb::pid_t m_pid; variable
|
| H A D | PlatformiOSSimulatorCoreSimulatorSupport.mm | 61 CoreSimulatorSupport::Process::Process(lldb::pid_t p) : m_pid(p), m_error() {} function 64 : m_pid(LLDB_INVALID_PROCESS_ID), m_error(error) {} function 67 : m_pid(p), m_error(error) {} function
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/ |
| H A D | MachProcess.mm | 561 m_pid = pid; 2648 m_pid = pid; 2687 return m_pid; 3281 return m_pid; 3622 if (m_pid != 0) { 3643 m_pid); 3655 return m_pid; 3838 if (m_pid != 0) { 3862 m_pid); 3875 return m_pid; [all …]
|
| H A D | MachProcess.h | 217 pid_t ProcessID() const { return m_pid; } in ProcessID() 218 bool ProcessIDIsValid() const { return m_pid > 0; } in ProcessIDIsValid() 387 pid_t m_pid; // Process ID of child process variable
|
| /llvm-project-15.0.7/lldb/include/lldb/Host/common/ |
| H A D | NativeProcessProtocol.h | 183 lldb::pid_t GetID() const { return m_pid; } in GetID() 416 lldb::pid_t m_pid; variable 447 void SetID(lldb::pid_t pid) { m_pid = pid; } in SetID()
|
| /llvm-project-15.0.7/lldb/unittests/tools/lldb-server/tests/ |
| H A D | MessageObjects.cpp | 27 if (elements["pid"].getAsInteger(16, process_info.m_pid)) in create() 54 lldb::pid_t ProcessInfo::GetPid() const { return m_pid; } in GetPid()
|
| H A D | MessageObjects.h | 38 lldb::pid_t m_pid; variable
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/FreeBSD/ |
| H A D | NativeProcessFreeBSD.cpp | 561 return PtraceWrapper(PT_KILL, m_pid); in Kill() 630 int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_VMMAP, static_cast<int>(m_pid)}; in PopulateMemoryRegionCache() 830 Status status = PtraceWrapper(PT_ATTACH, m_pid); in Attach() 837 if ((wstatus = llvm::sys::RetryAfterSignal(-1, waitpid, m_pid, nullptr, 0)) < in Attach()
|
| /llvm-project-15.0.7/lldb/include/lldb/Target/ |
| H A D | Process.h | 535 lldb::pid_t GetID() const { return m_pid; } in GetID() 540 void SetID(lldb::pid_t new_pid) { m_pid = new_pid; } in SetID() 2818 lldb::pid_t m_pid = LLDB_INVALID_PROCESS_ID; variable
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/scripted/ |
| H A D | ScriptedProcess.cpp | 172 m_pid = GetInterface().GetProcessID(); in DidLaunch()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/NetBSD/ |
| H A D | NativeProcessNetBSD.cpp | 854 Status status = PtraceWrapper(PT_ATTACH, m_pid); in Attach() 861 if ((wstatus = llvm::sys::RetryAfterSignal(-1, waitpid, m_pid, nullptr, in Attach()
|
| /llvm-project-15.0.7/lldb/source/Host/common/ |
| H A D | NativeProcessProtocol.cpp | 29 : m_pid(pid), m_delegate(delegate), m_terminal_fd(terminal_fd) { in NativeProcessProtocol()
|