1 //===-- LinuxProcMaps.h -----------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef liblldb_LinuxProcMaps_H_
11 #define liblldb_LinuxProcMaps_H_
13 #include "lldb/lldb-forward.h"
14 #include "llvm/ADT/StringRef.h"
18 namespace lldb_private {
20 typedef std::function<bool(const lldb_private::MemoryRegionInfo &,
21 const lldb_private::Status &)> LinuxMapCallback;
23 void ParseLinuxMapRegions(llvm::StringRef linux_map,
24 LinuxMapCallback const &callback);
26 } // namespace lldb_private
28 #endif // liblldb_LinuxProcMaps_H_