Path: blob/main/contrib/llvm-project/lldb/source/Plugins/Process/Utility/LinuxProcMaps.h
39644 views
//===-- LinuxProcMaps.h -----------------------------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_LINUXPROCMAPS_H9#define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_LINUXPROCMAPS_H1011#include "lldb/lldb-forward.h"12#include "llvm/ADT/StringRef.h"13#include "llvm/Support/Error.h"1415namespace lldb_private {1617typedef std::function<bool(llvm::Expected<MemoryRegionInfo>)> LinuxMapCallback;1819void ParseLinuxMapRegions(llvm::StringRef linux_map,20LinuxMapCallback const &callback);21void ParseLinuxSMapRegions(llvm::StringRef linux_smap,22LinuxMapCallback const &callback);2324} // namespace lldb_private2526#endif // LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_LINUXPROCMAPS_H272829