LLDB
mainline
llvm-project
lldb
include
lldb
Host
linux
linux/Host.h
Go to the documentation of this file.
1
//===-- Host.h --------------------------------------------------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#ifndef LLDB_HOST_LINUX_HOST_H
10
#define LLDB_HOST_LINUX_HOST_H
11
12
#include "
lldb/lldb-types.h
"
13
#include <optional>
14
15
namespace
lldb_private
{
16
17
// Get PID (i.e. the primary thread ID) corresponding to the specified TID.
18
std::optional<lldb::pid_t>
getPIDForTID
(
lldb::pid_t
tid);
19
20
}
// namespace lldb_private
21
22
#endif
// #ifndef LLDB_HOST_LINUX_HOST_H
lldb-types.h
lldb_private
A class that represents a running process on the host machine.
Definition:
SBAddressRange.h:14
lldb_private::getPIDForTID
std::optional< lldb::pid_t > getPIDForTID(lldb::pid_t tid)
Definition:
linux/Host.cpp:420
lldb::pid_t
uint64_t pid_t
Definition:
lldb-types.h:83
Generated on Sat Nov 23 2024 05:55:51 for LLDB by
1.9.6