Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:42:48

0001 //===-- Support.h -----------------------------------------------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLDB_HOST_LINUX_SUPPORT_H
0010 #define LLDB_HOST_LINUX_SUPPORT_H
0011 
0012 #include "llvm/Support/ErrorOr.h"
0013 #include "llvm/Support/MemoryBuffer.h"
0014 #include <memory>
0015 
0016 namespace lldb_private {
0017 
0018 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>>
0019 getProcFile(::pid_t pid, ::pid_t tid, const llvm::Twine &file);
0020 
0021 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>>
0022 getProcFile(::pid_t pid, const llvm::Twine &file);
0023 
0024 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>>
0025 getProcFile(const llvm::Twine &file);
0026 
0027 } // namespace lldb_private
0028 
0029 #endif // #ifndef LLDB_HOST_LINUX_SUPPORT_H