LLDB mainline
|
#include <Value.h>
Public Types | |
enum class | ValueType { Invalid = -1 , Scalar = 0 , FileAddress , LoadAddress , HostAddress } |
Type that describes Value::m_value. More... | |
enum class | ContextType { Invalid = -1 , RegisterInfo = 0 , LLDBType , Variable } |
Type that describes Value::m_context. More... |
Public Member Functions | |
Value () | |
Value (const Scalar &scalar) | |
Value (const void *bytes, int len) | |
Value (const Value &rhs) | |
void | SetBytes (const void *bytes, int len) |
void | AppendBytes (const void *bytes, int len) |
Value & | operator= (const Value &rhs) |
const CompilerType & | GetCompilerType () |
void | SetCompilerType (const CompilerType &compiler_type) |
ValueType | GetValueType () const |
AddressType | GetValueAddressType () const |
ContextType | GetContextType () const |
void | SetValueType (ValueType value_type) |
void | ClearContext () |
void | SetContext (ContextType context_type, void *p) |
RegisterInfo * | GetRegisterInfo () const |
Type * | GetType () |
Scalar & | ResolveValue (ExecutionContext *exe_ctx, Module *module=nullptr) |
const Scalar & | GetScalar () const |
See comment on m_scalar to understand what GetScalar returns. | |
Scalar & | GetScalar () |
See comment on m_scalar to understand what GetScalar returns. | |
size_t | ResizeData (size_t len) |
size_t | AppendDataToHostBuffer (const Value &rhs) |
DataBufferHeap & | GetBuffer () |
const DataBufferHeap & | GetBuffer () const |
bool | ValueOf (ExecutionContext *exe_ctx) |
Variable * | GetVariable () |
void | Dump (Stream *strm) |
lldb::Format | GetValueDefaultFormat () |
uint64_t | GetValueByteSize (Status *error_ptr, ExecutionContext *exe_ctx) |
Status | GetValueAsData (ExecutionContext *exe_ctx, DataExtractor &data, Module *module) |
void | ConvertToLoadAddress (Module *module, Target *target) |
Convert this value's file address to a load address, if possible. | |
bool | GetData (DataExtractor &data) |
void | Clear () |
Static Public Member Functions | |
static const char * | GetValueTypeAsCString (ValueType context_type) |
static const char * | GetContextTypeAsCString (ContextType context_type) |
static ValueType | GetValueTypeFromAddressType (AddressType address_type) |
Protected Attributes | |
Scalar | m_value |
Represents a value, which can be a scalar, a load address, a file address, or a host address. | |
CompilerType | m_compiler_type |
void * | m_context = nullptr |
ValueType | m_value_type = ValueType::Scalar |
ContextType | m_context_type = ContextType::Invalid |
DataBufferHeap | m_data_buffer |
|
strong |
Type that describes Value::m_context.
Enumerator | |
---|---|
Invalid | Undefined. |
RegisterInfo | RegisterInfo * (can be a scalar or a vector register). |
LLDBType | |
Variable |
|
strong |
Type that describes Value::m_value.
Value::Value | ( | ) |
Definition at line 44 of file Value.cpp.
References m_compiler_type, m_data_buffer, and m_value.
Referenced by AppendDataToHostBuffer(), operator=(), and Value().
Value::Value | ( | const Scalar & | scalar | ) |
Definition at line 46 of file Value.cpp.
References m_compiler_type, m_data_buffer, m_value, and Scalar.
Value::Value | ( | const void * | bytes, |
int | len ) |
Definition at line 49 of file Value.cpp.
References HostAddress, m_compiler_type, m_data_buffer, m_value, m_value_type, and SetBytes().
Value::Value | ( | const Value & | rhs | ) |
Definition at line 55 of file Value.cpp.
References lldb_private::WritableDataBuffer::GetBytes(), LLDB_INVALID_ADDRESS, m_compiler_type, m_context, m_context_type, m_data_buffer, m_value, m_value_type, lldb_private::Scalar::ULongLong(), and Value().
void Value::AppendBytes | ( | const void * | bytes, |
int | len ) |
Definition at line 96 of file Value.cpp.
References HostAddress, m_data_buffer, m_value, and m_value_type.
size_t Value::AppendDataToHostBuffer | ( | const Value & | rhs | ) |
Definition at line 154 of file Value.cpp.
References error(), FileAddress, lldb_private::Scalar::GetAsMemoryData(), GetBuffer(), lldb_private::WritableDataBuffer::GetBytes(), lldb_private::DataBufferHeap::GetByteSize(), lldb_private::Scalar::GetByteSize(), GetValueType(), HostAddress, lldb_private::endian::InlHostByteOrder(), Invalid, LoadAddress, m_data_buffer, m_value, ResizeData(), Scalar, and Value().
Referenced by lldb_private::DWARFExpression::Evaluate().
void Value::Clear | ( | ) |
Definition at line 636 of file Value.cpp.
References Invalid, m_compiler_type, m_context, m_context_type, m_data_buffer, m_value, m_value_type, and Scalar.
Referenced by lldb_private::ClangExpressionDeclMap::AddOneRegister(), and lldb_private::ClangExpressionDeclMap::AddOneVariable().
|
inline |
Definition at line 91 of file Value.h.
References Invalid, m_context, and m_context_type.
Referenced by lldb_private::DWARFExpression::Evaluate().
Convert this value's file address to a load address, if possible.
Definition at line 675 of file Value.cpp.
References FileAddress, lldb_private::Address::GetLoadAddress(), GetScalar(), GetValueType(), LLDB_INVALID_ADDRESS, LoadAddress, lldb_private::Module::ResolveFileAddress(), SetValueType(), and lldb_private::Scalar::ULongLong().
Referenced by lldb_private::DWARFExpression::Evaluate().
void Value::Dump | ( | Stream * | strm | ) |
Definition at line 102 of file Value.cpp.
References GetContextTypeAsCString(), GetValueTypeAsCString(), m_context, m_context_type, m_value, m_value_type, and lldb_private::Stream::Printf().
|
inline |
Definition at line 122 of file Value.h.
References m_data_buffer.
Referenced by AppendDataToHostBuffer(), and lldb_private::DWARFExpression::Evaluate().
|
inline |
Definition at line 124 of file Value.h.
References m_data_buffer.
const CompilerType & Value::GetCompilerType | ( | ) |
Definition at line 247 of file Value.cpp.
References lldb_private::Type::GetForwardCompilerType(), GetType(), lldb_private::Variable::GetType(), GetVariable(), Invalid, LLDBType, m_compiler_type, m_context_type, RegisterInfo, and Variable.
Referenced by lldb_private::TypeFormatImpl_Format::FormatObject(), ABIMacOSX_arm64::GetArgumentValues(), ABIMacOSX_arm::GetArgumentValues(), ABIMacOSX_i386::GetArgumentValues(), ABISysV_arm64::GetArgumentValues(), ABISysV_arm::GetArgumentValues(), ABISysV_i386::GetArgumentValues(), ABISysV_ppc64::GetArgumentValues(), ABISysV_ppc::GetArgumentValues(), ABISysV_s390x::GetArgumentValues(), ABISysV_x86_64::GetArgumentValues(), ABIWindows_x86_64::GetArgumentValues(), lldb_private::AppleObjCRuntime::GetObjectDescription(), lldb_private::ValueObject::GetValueAsCString(), GetValueAsData(), GetValueByteSize(), GetValueDefaultFormat(), ResolveValue(), and lldb_private::FunctionCaller::WriteFunctionArguments().
|
inline |
Definition at line 87 of file Value.h.
References m_context_type.
Referenced by lldb_private::ClangExpressionDeclMap::AddOneVariable(), lldb_private::TypeFormatImpl_Format::FormatObject(), lldb_private::ValueObject::GetLocationAsCStringImpl(), lldb_private::ClangExpressionDeclMap::GetVariableValue(), and lldb_private::FunctionCaller::WriteFunctionArguments().
|
static |
bool Value::GetData | ( | DataExtractor & | data | ) |
Definition at line 300 of file Value.cpp.
References FileAddress, lldb_private::DataExtractor::GetByteOrder(), HostAddress, Invalid, LoadAddress, m_data_buffer, m_value, m_value_type, Scalar, and lldb_private::DataExtractor::SetData().
RegisterInfo * Value::GetRegisterInfo | ( | ) | const |
Definition at line 142 of file Value.cpp.
References m_context, m_context_type, and RegisterInfo.
Referenced by lldb_private::TypeFormatImpl_Format::FormatObject(), lldb_private::ValueObject::GetLocationAsCStringImpl(), GetValueByteSize(), GetValueDefaultFormat(), and SetContext().
|
inline |
|
inline |
See comment on m_scalar to understand what GetScalar returns.
Definition at line 113 of file Value.h.
References m_value, and Scalar.
Referenced by lldb_private::ClangExpressionDeclMap::AddOneFunction(), lldb_private::ClangExpressionDeclMap::AddOneGenericVariable(), ConvertToLoadAddress(), lldb_private::PlatformWindows::DoLoadImage(), lldb_private::DWARFExpression::Evaluate(), lldb_private::FunctionCaller::FetchFunctionResults(), ABIMacOSX_arm64::GetArgumentValues(), ABIMacOSX_arm::GetArgumentValues(), ABIMacOSX_i386::GetArgumentValues(), ABISysV_arm64::GetArgumentValues(), ABISysV_arm::GetArgumentValues(), ABISysV_i386::GetArgumentValues(), ABISysV_ppc64::GetArgumentValues(), ABISysV_ppc::GetArgumentValues(), ABISysV_s390x::GetArgumentValues(), ABISysV_x86_64::GetArgumentValues(), ABIWindows_x86_64::GetArgumentValues(), lldb_private::AppleGetQueuesHandler::GetCurrentQueues(), lldb_private::ItaniumABILanguageRuntime::GetExceptionObjectForThread(), lldb_private::ClangExpressionDeclMap::GetFunctionInfo(), lldb_private::AppleGetItemInfoHandler::GetItemInfo(), lldb_private::ValueObject::GetLocationAsCStringImpl(), lldb_private::AppleObjCRuntime::GetObjectDescription(), lldb_private::AppleObjCRuntime::GetObjectDescription(), lldb_private::AppleGetPendingItemsHandler::GetPendingItems(), ABIMacOSX_arm64::GetReturnValueObjectImpl(), ABIMacOSX_arm::GetReturnValueObjectImpl(), ABIMacOSX_i386::GetReturnValueObjectImpl(), ABISysV_arc::GetReturnValueObjectImpl(), ABISysV_arm64::GetReturnValueObjectImpl(), ABISysV_arm::GetReturnValueObjectImpl(), ABISysV_hexagon::GetReturnValueObjectImpl(), ABISysV_mips64::GetReturnValueObjectImpl(), ABISysV_mips::GetReturnValueObjectImpl(), ABISysV_riscv::GetReturnValueObjectImpl(), ABISysV_arc::GetReturnValueObjectSimple(), ABISysV_i386::GetReturnValueObjectSimple(), ABISysV_loongarch::GetReturnValueObjectSimple(), ABISysV_ppc::GetReturnValueObjectSimple(), ABISysV_riscv::GetReturnValueObjectSimple(), ABISysV_s390x::GetReturnValueObjectSimple(), ABISysV_x86_64::GetReturnValueObjectSimple(), ABIWindows_x86_64::GetReturnValueObjectSimple(), lldb_private::AppleObjCTrampolineHandler::GetStepThroughDispatchPlan(), lldb_private::AppleGetThreadItemInfoHandler::GetThreadItemInfo(), GetValObjFromFPRegs(), GetValObjFromFPRegs(), GetValObjFromIntRegs(), GetValObjFromIntRegs(), lldb_private::ClangExpressionDeclMap::GetVariableValue(), IRInterpreter::Interpret(), lldb_private::ThreadPlanAssemblyTracer::Log(), DynamicLoaderMacOS::NotifyBreakpointHit(), DynamicLoaderMacOSXDYLD::NotifyBreakpointHit(), lldb_private::AppleObjCRuntimeV2::ParseClassInfoArray(), lldb_private::DWARFExpression::ReadRegisterValueAsScalar(), lldb_private::AbortWithPayloadFrameRecognizer::RecognizeFrame(), lldb_private::AppleThreadPlanStepThroughObjCTrampoline::ShouldStop(), lldb_private::ValueObjectCast::UpdateValue(), lldb_private::ValueObjectChild::UpdateValue(), lldb_private::ValueObjectDynamicValue::UpdateValue(), lldb_private::ValueObjectMemory::UpdateValue(), and lldb_private::ValueObjectVariable::UpdateValue().
Type * Value::GetType | ( | ) |
Definition at line 148 of file Value.cpp.
References LLDBType, m_context, and m_context_type.
Referenced by GetCompilerType().
AddressType Value::GetValueAddressType | ( | ) | const |
Definition at line 113 of file Value.cpp.
References lldb_private::eAddressTypeFile, lldb_private::eAddressTypeHost, lldb_private::eAddressTypeInvalid, lldb_private::eAddressTypeLoad, FileAddress, HostAddress, Invalid, LoadAddress, m_value_type, and Scalar.
Status Value::GetValueAsData | ( | ExecutionContext * | exe_ctx, |
DataExtractor & | data, | ||
Module * | module ) |
Definition at line 323 of file Value.cpp.
References lldb_private::ConstString::AsCString(), lldb_private::Variable::CalculateSymbolContext(), lldb_private::DataExtractor::Clear(), lldb_private::eAddressTypeFile, lldb_private::eAddressTypeHost, lldb_private::eAddressTypeLoad, error(), FileAddress, lldb_private::Status::FromErrorString(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::ArchSpec::GetAddressByteSize(), lldb_private::ObjectFile::GetAddressByteSize(), lldb_private::Target::GetArchitecture(), lldb_private::ExecutionContext::GetBestExecutionContextScope(), lldb_private::ArchSpec::GetByteOrder(), lldb_private::ObjectFile::GetByteOrder(), lldb_private::CompilerType::GetByteSize(), GetCompilerType(), lldb_private::Module::GetFileSpec(), lldb_private::Address::GetLoadAddress(), lldb_private::Variable::GetName(), lldb_private::FileSpec::GetPath(), lldb_private::CompilerType::GetPointerByteSize(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::ObjectFile::GetSectionList(), lldb_private::Process::GetState(), lldb_private::Process::GetTarget(), lldb_private::ExecutionContext::GetTargetPtr(), lldb_private::ExecutionContext::GetTargetRef(), GetValueByteSize(), GetVariable(), lldb_private::Target::HasLoadedSections(), HostAddress, lldb_private::endian::InlHostByteOrder(), Invalid, lldb_private::Process::IsAlive(), lldb_private::Address::IsSectionOffset(), lldb_private::Address::IsValid(), lldb_private::CompilerType::IsValid(), LLDB_INVALID_ADDRESS, LoadAddress, m_context_type, m_value, m_value_type, lldb_private::DataExtractor::PeekData(), lldb_private::Process::ReadMemory(), lldb_private::Target::ReadMemory(), RegisterInfo, lldb_private::Target::ResolveLoadAddress(), Scalar, lldb_private::DataExtractor::SetAddressByteSize(), lldb_private::DataExtractor::SetByteOrder(), lldb_private::DataExtractor::SetData(), lldb_private::StateIsStoppedState(), lldb_private::DataExtractor::ValidOffsetForDataOfSize(), and Variable.
Referenced by lldb_private::ValueObject::CreateConstantValue(), lldb_private::AppleObjCTrampolineHandler::AppleObjCVTables::RefreshTrampolines(), ResolveValue(), lldb_private::ValueObjectChild::UpdateValue(), lldb_private::ValueObjectMemory::UpdateValue(), and lldb_private::ValueObjectVariable::UpdateValue().
uint64_t Value::GetValueByteSize | ( | Status * | error_ptr, |
ExecutionContext * | exe_ctx ) |
Definition at line 213 of file Value.cpp.
References lldb_private::RegisterInfo::byte_size, lldb_private::Status::Clear(), lldb_private::Status::FromError(), lldb_private::Status::FromErrorString(), lldb_private::ExecutionContext::GetBestExecutionContextScope(), lldb_private::CompilerType::GetByteSize(), GetCompilerType(), lldb_private::GetLog(), GetRegisterInfo(), Invalid, LLDB_LOG_ERRORV, LLDBType, m_context_type, RegisterInfo, lldb_private::Status::Success(), lldb_private::Types, and Variable.
Referenced by GetValueAsData().
lldb::Format Value::GetValueDefaultFormat | ( | ) |
Definition at line 280 of file Value.cpp.
References lldb::eFormatHex, lldb_private::RegisterInfo::format, GetCompilerType(), lldb_private::CompilerType::GetFormat(), GetRegisterInfo(), Invalid, lldb_private::CompilerType::IsValid(), LLDBType, m_context_type, RegisterInfo, and Variable.
Value::ValueType Value::GetValueType | ( | ) | const |
Definition at line 111 of file Value.cpp.
References m_value_type.
Referenced by AppendDataToHostBuffer(), ConvertToLoadAddress(), lldb_private::ValueObjectVariable::DoUpdateChildrenAddressType(), lldb_private::DWARFExpression::Evaluate(), lldb_private::ValueObject::GetLocationAsCStringImpl(), lldb_private::ABI::GetReturnValueObject(), lldb_private::ClangExpressionDeclMap::GetVariableValue(), lldb_private::ValueObjectCast::UpdateValue(), lldb_private::ValueObjectChild::UpdateValue(), lldb_private::ValueObjectDynamicValue::UpdateValue(), lldb_private::ValueObjectMemory::UpdateValue(), lldb_private::ValueObjectVariable::UpdateValue(), and lldb_private::FunctionCaller::WriteFunctionArguments().
|
static |
Definition at line 645 of file Value.cpp.
References FileAddress, HostAddress, Invalid, LoadAddress, and Scalar.
Referenced by Dump().
|
static |
Definition at line 128 of file Value.cpp.
References lldb_private::eAddressTypeFile, lldb_private::eAddressTypeHost, lldb_private::eAddressTypeInvalid, lldb_private::eAddressTypeLoad, FileAddress, HostAddress, Invalid, and LoadAddress.
Variable * Value::GetVariable | ( | ) |
Definition at line 630 of file Value.cpp.
References m_context, m_context_type, and Variable.
Referenced by GetCompilerType(), and GetValueAsData().
Definition at line 70 of file Value.cpp.
References lldb_private::WritableDataBuffer::GetBytes(), lldb_private::DataBufferHeap::GetByteSize(), LLDB_INVALID_ADDRESS, m_compiler_type, m_context, m_context_type, m_data_buffer, m_value, m_value_type, lldb_private::Scalar::ULongLong(), and Value().
size_t Value::ResizeData | ( | size_t | len | ) |
Definition at line 192 of file Value.cpp.
References HostAddress, m_data_buffer, m_value, and m_value_type.
Referenced by AppendDataToHostBuffer(), and lldb_private::DWARFExpression::Evaluate().
Scalar & Value::ResolveValue | ( | ExecutionContext * | exe_ctx, |
Module * | module = nullptr ) |
Definition at line 589 of file Value.cpp.
References error(), FileAddress, lldb_private::ExecutionContext::GetBestExecutionContextScope(), lldb_private::DataExtractor::GetByteSize(), GetCompilerType(), GetValueAsData(), lldb_private::CompilerType::GetValueAsScalar(), HostAddress, Invalid, lldb_private::CompilerType::IsValid(), LLDB_INVALID_ADDRESS, LoadAddress, m_data_buffer, m_value, m_value_type, and Scalar.
Referenced by lldb_private::DWARFExpression::Evaluate(), lldb_private::AppleObjCTrampolineHandler::GetStepThroughDispatchPlan(), lldb_private::ValueObject::ResolveValue(), ValueOf(), and lldb_private::FunctionCaller::WriteFunctionArguments().
void Value::SetBytes | ( | const void * | bytes, |
int | len ) |
Definition at line 90 of file Value.cpp.
References HostAddress, m_data_buffer, m_value, and m_value_type.
Referenced by ABISysV_arm::GetReturnValueObjectImpl(), GetReturnValuePassedInMemory(), GetValObjFromIntRegs(), GetValObjFromIntRegs(), and Value().
void Value::SetCompilerType | ( | const CompilerType & | compiler_type | ) |
Definition at line 276 of file Value.cpp.
References m_compiler_type.
Referenced by lldb_private::ClangExpressionDeclMap::AddOneGenericVariable(), lldb_private::ClangExpressionDeclMap::AddOneVariable(), lldb_private::PlatformWindows::DoLoadImage(), lldb_private::FunctionCaller::FetchFunctionResults(), lldb_private::AppleObjCRuntime::GetBacktraceThreadFromException(), lldb_private::AppleObjCRuntimeV2::DynamicClassInfoExtractor::GetClassInfoUtilityFunction(), lldb_private::AppleGetQueuesHandler::GetCurrentQueues(), NSIndexPathSyntheticFrontEnd::Impl::InlinedIndexes::GetIndexAtIndex(), lldb_private::AppleGetItemInfoHandler::GetItemInfo(), lldb_private::AppleObjCRuntime::GetObjectDescription(), lldb_private::AppleGetPendingItemsHandler::GetPendingItems(), ABIMacOSX_arm64::GetReturnValueObjectImpl(), ABIMacOSX_arm::GetReturnValueObjectImpl(), ABIMacOSX_i386::GetReturnValueObjectImpl(), ABISysV_arm64::GetReturnValueObjectImpl(), ABISysV_arm::GetReturnValueObjectImpl(), ABISysV_mips64::GetReturnValueObjectImpl(), ABISysV_mips::GetReturnValueObjectImpl(), ABISysV_arc::GetReturnValueObjectSimple(), ABISysV_i386::GetReturnValueObjectSimple(), ABISysV_loongarch::GetReturnValueObjectSimple(), ABISysV_ppc::GetReturnValueObjectSimple(), ABISysV_riscv::GetReturnValueObjectSimple(), ABISysV_s390x::GetReturnValueObjectSimple(), ABISysV_x86_64::GetReturnValueObjectSimple(), ABIWindows_x86_64::GetReturnValueObjectSimple(), lldb_private::AppleObjCTrampolineHandler::GetStepThroughDispatchPlan(), lldb_private::AppleGetThreadItemInfoHandler::GetThreadItemInfo(), lldb_private::ClangExpressionDeclMap::GetVariableValue(), lldb_private::ThreadPlanAssemblyTracer::Log(), DynamicLoaderMacOS::NotifyBreakpointHit(), DynamicLoaderMacOSXDYLD::NotifyBreakpointHit(), lldb_private::AbortWithPayloadFrameRecognizer::RecognizeFrame(), lldb_private::AppleObjCTrampolineHandler::AppleObjCVTables::RefreshTrampolines(), and lldb_private::ValueObjectMemory::UpdateValue().
|
inline |
Definition at line 96 of file Value.h.
References lldb::eEncodingVector, lldb_private::RegisterInfo::encoding, GetRegisterInfo(), m_context, m_context_type, RegisterInfo, Scalar, and SetValueType().
Referenced by lldb_private::DWARFExpression::ReadRegisterValueAsScalar(), lldb_private::ValueObjectMemory::UpdateValue(), and lldb_private::ValueObjectVariable::UpdateValue().
|
inline |
Definition at line 89 of file Value.h.
References m_value_type.
Referenced by lldb_private::ClangExpressionDeclMap::AddOneFunction(), lldb_private::ClangExpressionDeclMap::AddOneGenericVariable(), ConvertToLoadAddress(), lldb_private::FunctionCaller::FetchFunctionResults(), lldb_private::AppleGetQueuesHandler::GetCurrentQueues(), lldb_private::AppleGetItemInfoHandler::GetItemInfo(), lldb_private::AppleGetPendingItemsHandler::GetPendingItems(), ABIMacOSX_arm64::GetReturnValueObjectImpl(), ABISysV_arc::GetReturnValueObjectImpl(), ABISysV_arm64::GetReturnValueObjectImpl(), ABISysV_mips64::GetReturnValueObjectImpl(), ABISysV_riscv::GetReturnValueObjectImpl(), ABISysV_arc::GetReturnValueObjectSimple(), ABISysV_i386::GetReturnValueObjectSimple(), ABISysV_loongarch::GetReturnValueObjectSimple(), ABISysV_ppc::GetReturnValueObjectSimple(), ABISysV_riscv::GetReturnValueObjectSimple(), ABISysV_s390x::GetReturnValueObjectSimple(), ABISysV_x86_64::GetReturnValueObjectSimple(), ABIWindows_x86_64::GetReturnValueObjectSimple(), lldb_private::AppleObjCTrampolineHandler::GetStepThroughDispatchPlan(), lldb_private::AppleGetThreadItemInfoHandler::GetThreadItemInfo(), GetValObjFromFPRegs(), GetValObjFromFPRegs(), GetValObjFromIntRegs(), GetValObjFromIntRegs(), lldb_private::ClangExpressionDeclMap::GetVariableValue(), lldb_private::ThreadPlanAssemblyTracer::Log(), DynamicLoaderMacOS::NotifyBreakpointHit(), DynamicLoaderMacOSXDYLD::NotifyBreakpointHit(), lldb_private::DWARFExpression::ReadRegisterValueAsScalar(), lldb_private::AbortWithPayloadFrameRecognizer::RecognizeFrame(), lldb_private::AppleObjCTrampolineHandler::AppleObjCVTables::RefreshTrampolines(), lldb_private::RegisterContextUnwind::SavedLocationForRegister(), and SetContext().
bool Value::ValueOf | ( | ExecutionContext * | exe_ctx | ) |
Definition at line 199 of file Value.cpp.
References Invalid, LLDBType, m_context_type, RegisterInfo, ResolveValue(), and Variable.
|
protected |
Definition at line 180 of file Value.h.
Referenced by Clear(), GetCompilerType(), operator=(), SetCompilerType(), Value(), Value(), Value(), and Value().
|
protected |
Definition at line 181 of file Value.h.
Referenced by Clear(), ClearContext(), Dump(), GetRegisterInfo(), GetType(), GetVariable(), operator=(), SetContext(), and Value().
|
protected |
Definition at line 183 of file Value.h.
Referenced by Clear(), ClearContext(), Dump(), GetCompilerType(), GetContextType(), GetRegisterInfo(), GetType(), GetValueAsData(), GetValueByteSize(), GetValueDefaultFormat(), GetVariable(), operator=(), SetContext(), Value(), and ValueOf().
|
protected |
Definition at line 184 of file Value.h.
Referenced by AppendBytes(), AppendDataToHostBuffer(), Clear(), GetBuffer(), GetBuffer(), GetData(), operator=(), ResizeData(), ResolveValue(), SetBytes(), Value(), Value(), Value(), and Value().
|
protected |
Represents a value, which can be a scalar, a load address, a file address, or a host address.
The interpretation of m_value depends on m_value_type:
Definition at line 179 of file Value.h.
Referenced by AppendBytes(), AppendDataToHostBuffer(), Clear(), Dump(), GetData(), GetScalar(), GetScalar(), GetValueAsData(), operator=(), ResizeData(), ResolveValue(), SetBytes(), Value(), Value(), Value(), and Value().
|
protected |
Definition at line 182 of file Value.h.
Referenced by AppendBytes(), Clear(), Dump(), GetData(), GetValueAddressType(), GetValueAsData(), GetValueType(), operator=(), ResizeData(), ResolveValue(), SetBytes(), SetValueType(), Value(), and Value().