LLDB mainline
aix/Support.h
Go to the documentation of this file.
1//===-- Support.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_AIX_SUPPORT_H
10#define LLDB_HOST_AIX_SUPPORT_H
11
12#include "llvm/Support/ErrorOr.h"
13#include "llvm/Support/MemoryBuffer.h"
14#include <memory>
15
16namespace lldb_private {
17
18llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>>
19getProcFile(::pid_t pid, ::pid_t tid, const llvm::Twine &file);
20
21} // namespace lldb_private
22
23#endif // #ifndef LLDB_HOST_AIX_SUPPORT_H
A class that represents a running process on the host machine.
llvm::ErrorOr< std::unique_ptr< llvm::MemoryBuffer > > getProcFile(::pid_t pid, ::pid_t tid, const llvm::Twine &file)