LLDB mainline
|
#include <ExpressionVariable.h>
Public Types | |
enum | Flags { EVNone = 0 , EVIsLLDBAllocated = 1 << 0 , EVIsProgramReference = 1 << 1 , EVNeedsAllocation = 1 << 2 , EVIsFreezeDried = 1 << 3 , EVNeedsFreezeDry , EVKeepInTarget = 1 << 5 , EVTypeIsReference = 1 << 6 , EVBareRegister = 1 << 7 } |
typedef uint16_t | FlagType |
Public Member Functions | |
ExpressionVariable () | |
virtual | ~ExpressionVariable ()=default |
llvm::Expected< uint64_t > | GetByteSize () |
ConstString | GetName () |
lldb::ValueObjectSP | GetValueObject () |
uint8_t * | GetValueBytes () |
void | ValueUpdated () |
RegisterInfo * | GetRegisterInfo () |
void | SetRegisterInfo (const RegisterInfo *reg_info) |
CompilerType | GetCompilerType () |
void | SetCompilerType (const CompilerType &compiler_type) |
void | SetName (ConstString name) |
void | TransferAddress (bool force=false) |
Public Attributes | |
FlagType | m_flags |
lldb::ValueObjectSP | m_frozen_sp |
These members should be private. | |
lldb::ValueObjectSP | m_live_sp |
The ValueObject counterpart to m_frozen_sp that tracks the value in inferior memory. |
Static Public Attributes | |
static char | ID |
LLVM RTTI support. |
Definition at line 25 of file ExpressionVariable.h.
typedef uint16_t lldb_private::ExpressionVariable::FlagType |
Definition at line 106 of file ExpressionVariable.h.
Definition at line 81 of file ExpressionVariable.h.
ExpressionVariable::ExpressionVariable | ( | ) |
Definition at line 20 of file ExpressionVariable.cpp.
References m_flags.
|
virtualdefault |
|
inline |
Definition at line 36 of file ExpressionVariable.h.
References m_frozen_sp.
|
inline |
Definition at line 55 of file ExpressionVariable.h.
References m_frozen_sp.
|
inline |
Definition at line 38 of file ExpressionVariable.h.
References m_frozen_sp.
Referenced by lldb_private::ClangREPL::PrintOneVariable().
|
inline |
Definition at line 46 of file ExpressionVariable.h.
References m_frozen_sp.
uint8_t * ExpressionVariable::GetValueBytes | ( | ) |
Definition at line 22 of file ExpressionVariable.cpp.
References m_frozen_sp.
|
inline |
Definition at line 40 of file ExpressionVariable.h.
References m_frozen_sp.
|
inline |
Definition at line 57 of file ExpressionVariable.h.
References m_frozen_sp.
|
inline |
Definition at line 61 of file ExpressionVariable.h.
References m_frozen_sp.
|
inline |
Definition at line 50 of file ExpressionVariable.h.
References m_frozen_sp, and lldb_private::Value::RegisterInfo.
|
inline |
Definition at line 70 of file ExpressionVariable.h.
References LLDB_INVALID_ADDRESS, m_frozen_sp, and m_live_sp.
|
inline |
Definition at line 44 of file ExpressionVariable.h.
References m_frozen_sp.
|
static |
LLVM RTTI support.
Definition at line 30 of file ExpressionVariable.h.
FlagType lldb_private::ExpressionVariable::m_flags |
Definition at line 108 of file ExpressionVariable.h.
Referenced by ExpressionVariable().
lldb::ValueObjectSP lldb_private::ExpressionVariable::m_frozen_sp |
These members should be private.
A value object whose value's data lives in host (lldb's) memory.
Definition at line 113 of file ExpressionVariable.h.
Referenced by GetByteSize(), GetCompilerType(), GetName(), GetRegisterInfo(), GetValueBytes(), GetValueObject(), SetCompilerType(), SetName(), SetRegisterInfo(), TransferAddress(), and ValueUpdated().
lldb::ValueObjectSP lldb_private::ExpressionVariable::m_live_sp |
The ValueObject counterpart to m_frozen_sp that tracks the value in inferior memory.
This object may not always exist; its presence depends on whether it is logical for the value to exist in the inferior memory. For example, when evaluating a C++ expression that generates an r-value, such as a single function call, there is no memory address in the inferior to track.
Definition at line 120 of file ExpressionVariable.h.
Referenced by TransferAddress().