Home
last modified time | relevance | path

Searched refs:pid_str (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/lldb/tools/darwin-debug/
H A Ddarwin-debug.cpp295 char pid_str[64]; in main() local
297 ::snprintf(pid_str, sizeof(pid_str), "%i", ::getpid()); in main()
298 const int bytes_sent = ::send(s, pid_str, pid_str_len, 0); in main()
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/Minidump/
H A DMinidumpFileBuilder.cpp675 std::string pid_str = std::to_string(pid); in AddLinuxFileStreams() local
677 {StreamType::LinuxProcStatus, "/proc/" + pid_str + "/status"}); in AddLinuxFileStreams()
679 {StreamType::LinuxCMDLine, "/proc/" + pid_str + "/cmdline"}); in AddLinuxFileStreams()
681 {StreamType::LinuxEnviron, "/proc/" + pid_str + "/environ"}); in AddLinuxFileStreams()
683 {StreamType::LinuxAuxv, "/proc/" + pid_str + "/auxv"}); in AddLinuxFileStreams()
685 {StreamType::LinuxMaps, "/proc/" + pid_str + "/maps"}); in AddLinuxFileStreams()
687 {StreamType::LinuxProcStat, "/proc/" + pid_str + "/stat"}); in AddLinuxFileStreams()
689 {StreamType::LinuxProcFD, "/proc/" + pid_str + "/fd"}); in AddLinuxFileStreams()
/llvm-project-15.0.7/lldb/test/API/tools/lldb-server/
H A DTestLldbGdbServer.py358 pid_str = ""
360 pid_str = "p{0:x}.".format(procs["inferior"].pid)
367 ["read packet: $Hg{0}{1:x}#00".format(pid_str, thread), # Set current thread.
390 pid_str = "p-1."
392 pid_str = "p{0:x}.".format(pass_pid)
396 ["read packet: $Hg{0}{1:x}#00".format(pid_str, thread), # Set current thread.
/llvm-project-15.0.7/lldb/source/Host/common/
H A DHostInfoBase.cpp276 std::string pid_str{llvm::to_string(Host::GetCurrentProcessID())}; in ComputeProcessTempFileDirectory() local
277 temp_file_spec.AppendPathComponent(pid_str); in ComputeProcessTempFileDirectory()
/llvm-project-15.0.7/lldb/tools/debugserver/source/
H A Ddebugserver.cpp694 char pid_str[64]; in PortWasBoundCallbackUnixSocket() local
695 const int pid_str_len = ::snprintf(pid_str, sizeof(pid_str), "%u", port); in PortWasBoundCallbackUnixSocket()
696 const ssize_t bytes_sent = ::send(s, pid_str, pid_str_len, 0); in PortWasBoundCallbackUnixSocket()
/llvm-project-15.0.7/lldb/source/Host/macosx/objcxx/
H A DHost.mm160 char pid_str[256];
161 ::memset(pid_str, 0, sizeof(pid_str));
164 pid_str, sizeof(pid_str), std::chrono::seconds(0), status, NULL);
166 int pid = atoi(pid_str);