LLDB mainline
CommandObjectMemory.cpp File Reference

Go to the source code of this file.

Classes

class  OptionGroupReadMemory
class  CommandObjectMemoryRead
class  CommandObjectMemoryFind
class  CommandObjectMemoryFind::OptionGroupFindMemory
class  CommandObjectMemoryWrite
class  CommandObjectMemoryWrite::OptionGroupWriteMemory
class  CommandObjectMemoryHistory
class  CommandObjectMemoryRegion
class  CommandObjectMemoryRegion::OptionGroupMemoryRegion

Macros

#define LLDB_OPTIONS_memory_read
#define ALL_KEYWORDS
#define KEYWORD(s)
#define KEYWORD(s)
#define LLDB_OPTIONS_memory_find
#define LLDB_OPTIONS_memory_write
#define LLDB_OPTIONS_memory_region

Functions

static llvm::Error CopyExpressionResult (ValueObject &result, DataBufferHeap &buffer, ExecutionContextScope *scope)
static llvm::Expected< ValueObjectSPEvaluateExpression (llvm::StringRef expression, StackFrame &frame, Process &process)

Macro Definition Documentation

◆ ALL_KEYWORDS

#define ALL_KEYWORDS
Value:
KEYWORD("const") \
KEYWORD("volatile") \
KEYWORD("restrict") \
KEYWORD("struct") \
KEYWORD("class") \
KEYWORD("union")
#define KEYWORD(s)

Referenced by CommandObjectMemoryRead::DoExecute().

◆ KEYWORD [1/2]

#define KEYWORD ( s)
Value:
s,

◆ KEYWORD [2/2]

#define KEYWORD ( s)
Value:
(sizeof(s) - 1),

◆ LLDB_OPTIONS_memory_find

#define LLDB_OPTIONS_memory_find

Definition at line 887 of file CommandObjectMemory.cpp.

◆ LLDB_OPTIONS_memory_read

#define LLDB_OPTIONS_memory_read

Definition at line 47 of file CommandObjectMemory.cpp.

◆ LLDB_OPTIONS_memory_region

#define LLDB_OPTIONS_memory_region

Definition at line 1614 of file CommandObjectMemory.cpp.

◆ LLDB_OPTIONS_memory_write

#define LLDB_OPTIONS_memory_write

Definition at line 1155 of file CommandObjectMemory.cpp.

Function Documentation

◆ CopyExpressionResult()

◆ EvaluateExpression()

llvm::Expected< ValueObjectSP > EvaluateExpression ( llvm::StringRef expression,
StackFrame & frame,
Process & process )
static