LLDB  mainline
Enumerations | Functions
LinuxProcMaps.cpp File Reference
#include "LinuxProcMaps.h"
#include "lldb/Target/MemoryRegionInfo.h"
#include "lldb/Utility/Status.h"
#include "lldb/Utility/StringExtractor.h"
#include "llvm/ADT/StringRef.h"
Include dependency graph for LinuxProcMaps.cpp:

Go to the source code of this file.

Enumerations

enum  MapsKind { MapsKind::Maps, MapsKind::SMaps }
 

Functions

static llvm::Expected< MemoryRegionInfoProcMapError (const char *msg, MapsKind kind)
 
static llvm::Expected< MemoryRegionInfoParseMemoryRegionInfoFromProcMapsLine (llvm::StringRef maps_line, MapsKind maps_kind)
 

Enumeration Type Documentation

◆ MapsKind

enum MapsKind
strong
Enumerator
Maps 
SMaps 

Definition at line 17 of file LinuxProcMaps.cpp.

Function Documentation

◆ ParseMemoryRegionInfoFromProcMapsLine()

static llvm::Expected<MemoryRegionInfo> ParseMemoryRegionInfoFromProcMapsLine ( llvm::StringRef  maps_line,
MapsKind  maps_kind 
)
static

◆ ProcMapError()

static llvm::Expected<MemoryRegionInfo> ProcMapError ( const char *  msg,
MapsKind  kind 
)
static

Definition at line 19 of file LinuxProcMaps.cpp.

References Maps.

Referenced by lldb_private::ParseLinuxSMapRegions(), and ParseMemoryRegionInfoFromProcMapsLine().