reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Support/CodeGenCoverage.cpp
   94         llvm::to_string(::getpid());
lib/Support/LockFileManager.cpp
  196     Out << getpid();
lib/Support/Unix/Process.inc
  447   return hash_combine(Now.time_since_epoch().count(), ::getpid());
projects/compiler-rt/lib/fuzzer/FuzzerUtilPosix.cpp
  129 unsigned long GetPid() { return (unsigned long)getpid(); }
projects/compiler-rt/lib/profile/InstrProfilingFile.c
  407           if (snprintf(PidChars, MAX_PID_SIZE, "%ld", (long)getpid()) <= 0) {
  538         int ProfilePoolId = getpid() % lprofCurFilename.MergePoolSize;
projects/compiler-rt/lib/profile/InstrProfilingUtil.c
  132   s_flock.l_pid = getpid();
  157   s_flock.l_pid = getpid();
projects/compiler-rt/lib/safestack/safestack.cpp
  171   pid_t pid = getpid();
projects/openmp/runtime/src/kmp_affinity.cpp
 4788     KMP_INFORM(BoundToOSProcSet, "KMP_AFFINITY", (kmp_int32)getpid(),
 4837     KMP_INFORM(BoundToOSProcSet, "OMP_PROC_BIND", (kmp_int32)getpid(),
 5130       KMP_INFORM(BoundToOSProcSet, "KMP_AFFINITY", (kmp_int32)getpid(),
 5296       KMP_INFORM(BoundToOSProcSet, "KMP_AFFINITY", (kmp_int32)getpid(),
projects/openmp/runtime/src/kmp_runtime.cpp
 6336   return __kmp_str_format("__KMP_REGISTERED_LIB_%d", (int)getpid());
 7918     rc = __kmp_str_buf_print(field_buffer, format, getpid());
projects/openmp/runtime/src/kmp_utility.cpp
  376           pid_t id = getpid();
projects/openmp/runtime/src/z_Linux_util.cpp
 2012   char *name = __kmp_str_format("/proc/%d/maps", getpid());
tools/clang/lib/Driver/Driver.cpp
 1167       getpid();
tools/lldb/source/Host/common/Host.cpp
  302 lldb::pid_t Host::GetCurrentProcessID() { return ::getpid(); }
tools/lldb/source/Host/linux/Host.cpp
  232     const lldb::pid_t our_pid = getpid();
tools/lldb/source/Host/posix/LockFilePosix.cpp
   29   fl.l_pid = ::getpid();
tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
   86     ssize_t res = process_vm_readv(getpid(), &local, 1, &remote, 1, 0);
  779   const bool is_from_llgs = info.si_pid == getpid();
tools/lldb/source/Utility/Log.cpp
  296     OS << llvm::formatv("[{0,0+4}/{1,0+4}] ", getpid(),
tools/lldb/tools/driver/Driver.cpp
  723   kill(getpid(), signo);
  732   kill(getpid(), signo);
tools/lldb/tools/lldb-vscode/lldb-vscode.cpp
 2597       printf("Paused waiting for debugger to attach (pid = %i)...\n", getpid());
tools/lldb/unittests/Host/MainLoopTest.cpp
  134   kill(getpid(), SIGUSR1);
  154     kill(getpid(), SIGUSR2);
  156     kill(getpid(), SIGUSR1);
tools/lldb/unittests/Host/linux/HostTest.cpp
   35   ASSERT_TRUE(Host::GetProcessInfo(getpid(), Info));
   38   EXPECT_EQ(lldb::pid_t(getpid()), Info.GetProcessID());
tools/lldb/unittests/Host/linux/SupportTest.cpp
   16   auto BufferOrError = getProcFile(getpid(), "maps");
   22   auto BufferOrError = getProcFile(getpid(), llvm::get_threadid(), "comm");
tools/lldb/unittests/Utility/LogTest.cpp
  241   EXPECT_EQ(llvm::formatv("[{0,0+4}/{1,0+4}] Hello World\n", ::getpid(),
utils/unittest/googletest/src/gtest-port.cc
  111       (Message() << "/proc/" << getpid() << "/stat").GetString();