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 |
Scalar & | GetScalar () |
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 |
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 | ( | const void * | bytes, |
int | len | ||
) |
Definition at line 47 of file Value.cpp.
References SetBytes().
Value::Value | ( | const Value & | rhs | ) |
Definition at line 53 of file Value.cpp.
References lldb_private::DataBufferHeap::CopyData(), lldb_private::WritableDataBuffer::GetBytes(), lldb_private::DataBufferHeap::GetByteSize(), LLDB_INVALID_ADDRESS, m_data_buffer, m_value, and lldb_private::Scalar::ULongLong().
void Value::AppendBytes | ( | const void * | bytes, |
int | len | ||
) |
Definition at line 94 of file Value.cpp.
References lldb_private::DataBufferHeap::AppendData(), lldb_private::WritableDataBuffer::GetBytes(), HostAddress, m_data_buffer, m_value, and m_value_type.
size_t Value::AppendDataToHostBuffer | ( | const Value & | rhs | ) |
Definition at line 152 of file Value.cpp.
References error(), FileAddress, lldb_private::Scalar::GetAsMemoryData(), GetBuffer(), lldb_private::WritableDataBuffer::GetBytes(), lldb_private::Scalar::GetByteSize(), lldb_private::DataBufferHeap::GetByteSize(), GetValueType(), HostAddress, lldb_private::endian::InlHostByteOrder(), Invalid, LoadAddress, m_data_buffer, m_value, ResizeData(), and Scalar.
Referenced by lldb_private::DWARFExpression::Evaluate().
void Value::Clear | ( | ) |
Definition at line 624 of file Value.cpp.
References lldb_private::CompilerType::Clear(), lldb_private::DataBufferHeap::Clear(), lldb_private::Scalar::Clear(), 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(), lldb_private::ClangExpressionDeclMap::AddOneVariable(), and ValueObjectVTableChild::UpdateValue().
|
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 663 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::ValueObjectVariable::UpdateValue().
void Value::Dump | ( | Stream * | strm | ) |
Definition at line 100 of file Value.cpp.
References GetContextTypeAsCString(), lldb_private::Scalar::GetValue(), GetValueTypeAsCString(), m_context, m_context_type, m_value, m_value_type, and lldb_private::Stream::Printf().
|
inline |
Definition at line 120 of file Value.h.
References m_data_buffer.
Referenced by AppendDataToHostBuffer(), lldb_private::DWARFExpression::Evaluate(), and lldb_private::ValueObjectVariable::UpdateValue().
|
inline |
Definition at line 122 of file Value.h.
References m_data_buffer.
const CompilerType & Value::GetCompilerType | ( | ) |
Definition at line 239 of file Value.cpp.
References lldb_private::Type::GetForwardCompilerType(), GetType(), lldb_private::Variable::GetType(), GetVariable(), Invalid, lldb_private::CompilerType::IsValid(), LLDBType, m_compiler_type, m_context_type, RegisterInfo, and Variable.
Referenced by lldb_private::ClangFunctionCaller::CompileFunction(), lldb_private::TypeFormatImpl_Format::FormatObject(), ABIMacOSX_arm64::GetArgumentValues(), ABISysV_arm64::GetArgumentValues(), ABIMacOSX_arm::GetArgumentValues(), ABISysV_arm::GetArgumentValues(), ABISysV_ppc::GetArgumentValues(), ABISysV_ppc64::GetArgumentValues(), ABISysV_s390x::GetArgumentValues(), ABIMacOSX_i386::GetArgumentValues(), ABISysV_i386::GetArgumentValues(), ABISysV_x86_64::GetArgumentValues(), ABIWindows_x86_64::GetArgumentValues(), lldb_private::ValueObjectConstResult::GetCompilerTypeImpl(), lldb_private::ValueObjectDynamicValue::GetCompilerTypeImpl(), ValueObjectVTableChild::GetCompilerTypeImpl(), lldb_private::AppleObjCRuntime::GetObjectDescription(), lldb_private::ValueObject::GetValueAsCString(), GetValueAsData(), GetValueByteSize(), GetValueDefaultFormat(), lldb_private::ValueObjectPrinter::IsInstancePointer(), 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::ValueObjectVariable::GetLocationAsCString(), lldb_private::ValueObject::GetLocationAsCStringImpl(), lldb_private::ValueObject::GetValueAsCString(), lldb_private::ClangExpressionDeclMap::GetVariableValue(), lldb_private::ValueObjectVariable::SetData(), lldb_private::ValueObjectVariable::SetValueFromCString(), and lldb_private::FunctionCaller::WriteFunctionArguments().
|
static |
bool Value::GetData | ( | DataExtractor & | data | ) |
Definition at line 292 of file Value.cpp.
References FileAddress, lldb_private::DataExtractor::GetByteOrder(), lldb_private::WritableDataBuffer::GetBytes(), lldb_private::DataBufferHeap::GetByteSize(), lldb_private::Scalar::GetData(), HostAddress, Invalid, LoadAddress, m_data_buffer, m_value, m_value_type, Scalar, and lldb_private::DataExtractor::SetData().
RegisterInfo * Value::GetRegisterInfo | ( | ) | const |
Definition at line 140 of file Value.cpp.
References m_context, m_context_type, and RegisterInfo.
Referenced by lldb_private::TypeFormatImpl_Format::FormatObject(), lldb_private::ValueObject::GetLocationAsCStringImpl(), GetValObjFromIntRegs(), lldb_private::ValueObject::GetValueAsCString(), GetValueByteSize(), GetValueDefaultFormat(), SetContext(), lldb_private::ValueObjectVariable::SetData(), and lldb_private::ValueObjectVariable::SetValueFromCString().
|
inline |
|
inline |
Definition at line 112 of file Value.h.
References m_value.
Referenced by lldb_private::ClangExpressionDeclMap::AddOneFunction(), lldb_private::ClangExpressionDeclMap::AddOneGenericVariable(), ConvertToLoadAddress(), PlatformPOSIX::DoLoadImage(), lldb_private::PlatformWindows::DoLoadImage(), lldb_private::DWARFExpression::Evaluate(), lldb_private::FunctionCaller::FetchFunctionResults(), lldb_private::ValueObject::GetAddressOf(), ABIMacOSX_arm64::GetArgumentValues(), ABISysV_arm64::GetArgumentValues(), ABIMacOSX_arm::GetArgumentValues(), ABISysV_arm::GetArgumentValues(), ABISysV_ppc::GetArgumentValues(), ABISysV_ppc64::GetArgumentValues(), ABISysV_s390x::GetArgumentValues(), ABIMacOSX_i386::GetArgumentValues(), ABISysV_i386::GetArgumentValues(), ABISysV_x86_64::GetArgumentValues(), ABIWindows_x86_64::GetArgumentValues(), lldb_private::AppleGetQueuesHandler::GetCurrentQueues(), lldb_private::AppleThreadPlanStepThroughObjCTrampoline::GetDescription(), lldb_private::ItaniumABILanguageRuntime::GetExceptionObjectForThread(), lldb_private::ValueObject::GetExpressionPath(), lldb_private::ClangExpressionDeclMap::GetFunctionInfo(), lldb_private::AppleGetItemInfoHandler::GetItemInfo(), lldb_private::ValueObject::GetLocationAsCStringImpl(), lldb_private::AppleObjCRuntime::GetObjectDescription(), lldb_private::AppleGetPendingItemsHandler::GetPendingItems(), lldb_private::ValueObject::GetPointeeData(), lldb_private::ValueObject::GetPointerValue(), ABIMacOSX_arm64::GetReturnValueObjectImpl(), ABISysV_arm64::GetReturnValueObjectImpl(), ABIMacOSX_arm::GetReturnValueObjectImpl(), ABISysV_arm::GetReturnValueObjectImpl(), ABIMacOSX_i386::GetReturnValueObjectImpl(), ABISysV_mips::GetReturnValueObjectImpl(), ABISysV_mips64::GetReturnValueObjectImpl(), ABISysV_arc::GetReturnValueObjectImpl(), ABISysV_hexagon::GetReturnValueObjectImpl(), ABISysV_riscv::GetReturnValueObjectImpl(), ABISysV_arc::GetReturnValueObjectSimple(), ABISysV_ppc::GetReturnValueObjectSimple(), ABISysV_riscv::GetReturnValueObjectSimple(), ABISysV_s390x::GetReturnValueObjectSimple(), ABISysV_i386::GetReturnValueObjectSimple(), ABISysV_x86_64::GetReturnValueObjectSimple(), ABIWindows_x86_64::GetReturnValueObjectSimple(), lldb_private::AppleObjCTrampolineHandler::GetStepThroughDispatchPlan(), lldb_private::AppleGetThreadItemInfoHandler::GetThreadItemInfo(), GetValObjFromFPRegs(), GetValObjFromIntRegs(), lldb_private::ClangExpressionDeclMap::GetVariableValue(), IRInterpreter::Interpret(), lldb_private::ThreadPlanAssemblyTracer::Log(), DynamicLoaderMacOS::NotifyBreakpointHit(), DynamicLoaderMacOSXDYLD::NotifyBreakpointHit(), ObjCExceptionRecognizedStackFrame::ObjCExceptionRecognizedStackFrame(), ReadRegisterValueAsScalar(), lldb_private::AbortWithPayloadFrameRecognizer::RecognizeFrame(), lldb_private::ValueObject::SetData(), lldb_private::ValueObject::SetValueFromCString(), lldb_private::AppleThreadPlanStepThroughObjCTrampoline::ShouldStop(), lldb_private::AppleObjCRuntimeV2::SharedCacheClassInfoExtractor::UpdateISAToDescriptorMap(), lldb_private::AppleObjCRuntimeV2::DynamicClassInfoExtractor::UpdateISAToDescriptorMap(), lldb_private::ValueObjectCast::UpdateValue(), lldb_private::ValueObjectChild::UpdateValue(), lldb_private::ValueObjectDynamicValue::UpdateValue(), lldb_private::ValueObjectMemory::UpdateValue(), lldb_private::ValueObjectRegister::UpdateValue(), lldb_private::ValueObjectVariable::UpdateValue(), lldb_private::ValueObjectVTable::UpdateValue(), ValueObjectVTableChild::UpdateValue(), lldb_private::ValueObjectConstResult::ValueObjectConstResult(), and lldb_private::ValueObjectMemory::ValueObjectMemory().
Type * Value::GetType | ( | ) |
Definition at line 146 of file Value.cpp.
References LLDBType, m_context, and m_context_type.
Referenced by GetCompilerType().
AddressType Value::GetValueAddressType | ( | ) | const |
Definition at line 111 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.
Referenced by lldb_private::ValueObject::GetAddressOf().
Status Value::GetValueAsData | ( | ExecutionContext * | exe_ctx, |
DataExtractor & | data, | ||
Module * | module | ||
) |
Definition at line 315 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::ArchSpec::GetAddressByteSize(), lldb_private::ObjectFile::GetAddressByteSize(), lldb_private::Target::GetArchitecture(), lldb_private::ExecutionContext::GetBestExecutionContextScope(), lldb_private::ArchSpec::GetByteOrder(), lldb_private::ObjectFile::GetByteOrder(), lldb_private::Scalar::GetByteSize(), lldb_private::CompilerType::GetByteSize(), GetCompilerType(), lldb_private::Scalar::GetData(), lldb_private::Module::GetFileSpec(), lldb_private::Address::GetLoadAddress(), lldb_private::Variable::GetName(), lldb_private::Module::GetObjectFile(), lldb_private::FileSpec::GetPath(), lldb_private::CompilerType::GetPointerByteSize(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::ObjectFile::GetSectionList(), lldb_private::Target::GetSectionLoadList(), lldb_private::Process::GetState(), lldb_private::Process::GetTarget(), lldb_private::ExecutionContext::GetTargetPtr(), lldb_private::ExecutionContext::GetTargetRef(), GetValueByteSize(), GetVariable(), HostAddress, lldb_private::endian::InlHostByteOrder(), Invalid, lldb_private::Process::IsAlive(), lldb_private::SectionLoadList::IsEmpty(), lldb_private::Address::IsSectionOffset(), lldb_private::Address::IsValid(), lldb_private::CompilerType::IsValid(), LLDB_INVALID_ADDRESS, LoadAddress, m_value, m_value_type, lldb_private::SymbolContext::module_sp, lldb_private::DataExtractor::PeekData(), lldb_private::Target::ReadMemory(), lldb_private::Process::ReadMemory(), lldb_private::SectionLoadList::ResolveLoadAddress(), Scalar, lldb_private::DataExtractor::SetAddressByteSize(), lldb_private::DataExtractor::SetByteOrder(), lldb_private::DataExtractor::SetData(), lldb_private::StateIsStoppedState(), UINT32_MAX, lldb_private::Scalar::ULongLong(), and lldb_private::DataExtractor::ValidOffsetForDataOfSize().
Referenced by lldb_private::ValueObjectSynthetic::CopyValueData(), lldb_private::ValueObject::CreateConstantValue(), lldb_private::ValueObject::GetData(), lldb_private::AppleObjCTrampolineHandler::AppleObjCVTables::RefreshTrampolines(), ResolveValue(), lldb_private::ValueObjectCast::UpdateValue(), lldb_private::ValueObjectChild::UpdateValue(), lldb_private::ValueObjectDynamicValue::UpdateValue(), lldb_private::ValueObjectMemory::UpdateValue(), lldb_private::ValueObjectVariable::UpdateValue(), ValueObjectVTableChild::UpdateValue(), and lldb_private::ValueObjectConstResult::ValueObjectConstResult().
uint64_t Value::GetValueByteSize | ( | Status * | error_ptr, |
ExecutionContext * | exe_ctx | ||
) |
Definition at line 211 of file Value.cpp.
References lldb_private::RegisterInfo::byte_size, lldb_private::Status::Clear(), lldb_private::ExecutionContext::GetBestExecutionContextScope(), GetCompilerType(), GetRegisterInfo(), Invalid, LLDBType, m_context_type, RegisterInfo, lldb_private::Status::SetErrorString(), lldb_private::Status::Success(), and Variable.
Referenced by lldb_private::ValueObjectCast::GetByteSize(), lldb_private::ValueObjectDynamicValue::GetByteSize(), GetValueAsData(), and lldb_private::ValueObjectVariable::UpdateValue().
lldb::Format Value::GetValueDefaultFormat | ( | ) |
Definition at line 272 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 109 of file Value.cpp.
References m_value_type.
Referenced by AppendDataToHostBuffer(), lldb_private::ValueObject::Cast(), ConvertToLoadAddress(), lldb_private::ValueObjectVariable::DoUpdateChildrenAddressType(), lldb_private::DWARFExpression::Evaluate(), lldb_private::ValueObject::GetAddressOf(), lldb_private::ValueObject::GetExpressionPath(), lldb_private::ValueObject::GetLocationAsCStringImpl(), lldb_private::ValueObject::GetPointerValue(), lldb_private::ABI::GetReturnValueObject(), lldb_private::ClangExpressionDeclMap::GetVariableValue(), lldb_private::ValueObject::SetData(), lldb_private::ValueObject::SetValueFromCString(), 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 633 of file Value.cpp.
References FileAddress, HostAddress, Invalid, LoadAddress, and Scalar.
Referenced by Dump().
|
static |
Definition at line 126 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 618 of file Value.cpp.
References m_context, m_context_type, and Variable.
Referenced by GetCompilerType(), and GetValueAsData().
Definition at line 68 of file Value.cpp.
References lldb_private::DataBufferHeap::CopyData(), 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, and lldb_private::Scalar::ULongLong().
size_t Value::ResizeData | ( | size_t | len | ) |
Definition at line 190 of file Value.cpp.
References lldb_private::WritableDataBuffer::GetBytes(), lldb_private::DataBufferHeap::GetByteSize(), HostAddress, m_data_buffer, m_value, m_value_type, and lldb_private::DataBufferHeap::SetByteSize().
Referenced by AppendDataToHostBuffer(), lldb_private::DWARFExpression::Evaluate(), and lldb_private::ValueObjectVariable::UpdateValue().
Scalar & Value::ResolveValue | ( | ExecutionContext * | exe_ctx, |
Module * | module = nullptr |
||
) |
Definition at line 577 of file Value.cpp.
References lldb_private::Scalar::Clear(), error(), FileAddress, lldb_private::ExecutionContext::GetBestExecutionContextScope(), lldb_private::WritableDataBuffer::GetBytes(), 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, Scalar, and lldb_private::Scalar::ULongLong().
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 88 of file Value.cpp.
References lldb_private::DataBufferHeap::CopyData(), lldb_private::WritableDataBuffer::GetBytes(), HostAddress, m_data_buffer, m_value, and m_value_type.
Referenced by ABISysV_arm::GetReturnValueObjectImpl(), GetReturnValuePassedInMemory(), GetValObjFromIntRegs(), lldb_private::ValueObjectVariable::UpdateValue(), and Value().
void Value::SetCompilerType | ( | const CompilerType & | compiler_type | ) |
Definition at line 268 of file Value.cpp.
References m_compiler_type.
Referenced by lldb_private::ClangExpressionDeclMap::AddOneGenericVariable(), lldb_private::ClangExpressionDeclMap::AddOneVariable(), PlatformPOSIX::DoLoadImage(), lldb_private::PlatformWindows::DoLoadImage(), lldb_private::FunctionCaller::FetchFunctionResults(), lldb_private::AppleObjCRuntime::GetBacktraceThreadFromException(), lldb_private::AppleObjCRuntimeV2::SharedCacheClassInfoExtractor::GetClassInfoUtilityFunctionImpl(), lldb_private::AppleObjCRuntimeV2::DynamicClassInfoExtractor::GetClassInfoUtilityFunctionImpl(), lldb_private::AppleGetQueuesHandler::GetCurrentQueues(), NSIndexPathSyntheticFrontEnd::Impl::InlinedIndexes::GetIndexAtIndex(), lldb_private::AppleGetItemInfoHandler::GetItemInfo(), lldb_private::AppleObjCRuntime::GetObjectDescription(), lldb_private::AppleGetPendingItemsHandler::GetPendingItems(), ABIMacOSX_arm64::GetReturnValueObjectImpl(), ABISysV_arm64::GetReturnValueObjectImpl(), ABIMacOSX_arm::GetReturnValueObjectImpl(), ABISysV_arm::GetReturnValueObjectImpl(), ABIMacOSX_i386::GetReturnValueObjectImpl(), ABISysV_mips::GetReturnValueObjectImpl(), ABISysV_mips64::GetReturnValueObjectImpl(), ABISysV_arc::GetReturnValueObjectSimple(), ABISysV_ppc::GetReturnValueObjectSimple(), ABISysV_riscv::GetReturnValueObjectSimple(), ABISysV_s390x::GetReturnValueObjectSimple(), ABISysV_i386::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(), lldb_private::PlatformWindows::MakeLoadImageUtilityFunction(), PlatformPOSIX::MakeLoadImageUtilityFunction(), DynamicLoaderMacOS::NotifyBreakpointHit(), DynamicLoaderMacOSXDYLD::NotifyBreakpointHit(), ObjCExceptionRecognizedStackFrame::ObjCExceptionRecognizedStackFrame(), lldb_private::AbortWithPayloadFrameRecognizer::RecognizeFrame(), lldb_private::AppleObjCTrampolineHandler::AppleObjCVTables::RefreshTrampolines(), lldb_private::AppleObjCRuntimeV2::SharedCacheClassInfoExtractor::UpdateISAToDescriptorMap(), lldb_private::AppleObjCRuntimeV2::DynamicClassInfoExtractor::UpdateISAToDescriptorMap(), lldb_private::ValueObjectCast::UpdateValue(), lldb_private::ValueObjectChild::UpdateValue(), lldb_private::ValueObjectDynamicValue::UpdateValue(), lldb_private::ValueObjectMemory::UpdateValue(), lldb_private::ValueObjectVariable::UpdateValue(), lldb_private::ValueObjectVTable::UpdateValue(), ValueObjectVTableChild::UpdateValue(), lldb_private::ValueObjectCast::ValueObjectCast(), lldb_private::ValueObjectConstResult::ValueObjectConstResult(), and lldb_private::ValueObjectMemory::ValueObjectMemory().
|
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 ReadRegisterValueAsScalar(), lldb_private::ValueObjectMemory::UpdateValue(), lldb_private::ValueObjectRegister::UpdateValue(), lldb_private::ValueObjectVariable::UpdateValue(), and lldb_private::ValueObjectMemory::ValueObjectMemory().
|
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::AppleObjCRuntimeV2::SharedCacheClassInfoExtractor::GetClassInfoUtilityFunctionImpl(), lldb_private::AppleObjCRuntimeV2::DynamicClassInfoExtractor::GetClassInfoUtilityFunctionImpl(), lldb_private::AppleGetQueuesHandler::GetCurrentQueues(), lldb_private::AppleGetItemInfoHandler::GetItemInfo(), lldb_private::AppleGetPendingItemsHandler::GetPendingItems(), ABIMacOSX_arm64::GetReturnValueObjectImpl(), ABISysV_arm64::GetReturnValueObjectImpl(), ABISysV_mips64::GetReturnValueObjectImpl(), ABISysV_arc::GetReturnValueObjectImpl(), ABISysV_riscv::GetReturnValueObjectImpl(), ABISysV_arc::GetReturnValueObjectSimple(), ABISysV_ppc::GetReturnValueObjectSimple(), ABISysV_riscv::GetReturnValueObjectSimple(), ABISysV_s390x::GetReturnValueObjectSimple(), ABISysV_i386::GetReturnValueObjectSimple(), ABISysV_x86_64::GetReturnValueObjectSimple(), ABIWindows_x86_64::GetReturnValueObjectSimple(), lldb_private::AppleObjCTrampolineHandler::GetStepThroughDispatchPlan(), lldb_private::AppleGetThreadItemInfoHandler::GetThreadItemInfo(), GetValObjFromFPRegs(), GetValObjFromIntRegs(), lldb_private::ClangExpressionDeclMap::GetVariableValue(), lldb_private::ThreadPlanAssemblyTracer::Log(), lldb_private::PlatformWindows::MakeLoadImageUtilityFunction(), PlatformPOSIX::MakeLoadImageUtilityFunction(), DynamicLoaderMacOS::NotifyBreakpointHit(), DynamicLoaderMacOSXDYLD::NotifyBreakpointHit(), ReadRegisterValueAsScalar(), lldb_private::AbortWithPayloadFrameRecognizer::RecognizeFrame(), lldb_private::AppleObjCTrampolineHandler::AppleObjCVTables::RefreshTrampolines(), lldb_private::RegisterContextUnwind::SavedLocationForRegister(), SetContext(), lldb_private::AppleObjCRuntimeV2::SharedCacheClassInfoExtractor::UpdateISAToDescriptorMap(), lldb_private::AppleObjCRuntimeV2::DynamicClassInfoExtractor::UpdateISAToDescriptorMap(), lldb_private::ValueObjectChild::UpdateValue(), lldb_private::ValueObjectDynamicValue::UpdateValue(), lldb_private::ValueObjectMemory::UpdateValue(), lldb_private::ValueObjectRegister::UpdateValue(), lldb_private::ValueObjectVTable::UpdateValue(), ValueObjectVTableChild::UpdateValue(), lldb_private::ValueObjectConstResult::ValueObjectConstResult(), and lldb_private::ValueObjectMemory::ValueObjectMemory().
bool Value::ValueOf | ( | ExecutionContext * | exe_ctx | ) |
Definition at line 197 of file Value.cpp.
References Invalid, LLDBType, m_context_type, RegisterInfo, ResolveValue(), and Variable.
|
protected |
Definition at line 152 of file Value.h.
Referenced by Clear(), GetCompilerType(), operator=(), and SetCompilerType().
|
protected |
Definition at line 153 of file Value.h.
Referenced by Clear(), ClearContext(), Dump(), GetRegisterInfo(), GetType(), GetVariable(), operator=(), and SetContext().
|
protected |
Definition at line 155 of file Value.h.
Referenced by Clear(), ClearContext(), Dump(), GetCompilerType(), GetContextType(), GetRegisterInfo(), GetType(), GetValueByteSize(), GetValueDefaultFormat(), GetVariable(), operator=(), SetContext(), and ValueOf().
|
protected |
Definition at line 156 of file Value.h.
Referenced by AppendBytes(), AppendDataToHostBuffer(), Clear(), GetBuffer(), GetData(), operator=(), ResizeData(), ResolveValue(), SetBytes(), and Value().
|
protected |
Definition at line 151 of file Value.h.
Referenced by AppendBytes(), AppendDataToHostBuffer(), Clear(), Dump(), GetData(), GetScalar(), GetValueAsData(), operator=(), ResizeData(), ResolveValue(), SetBytes(), and Value().
|
protected |
Definition at line 154 of file Value.h.
Referenced by AppendBytes(), Clear(), Dump(), GetData(), GetValueAddressType(), GetValueAsData(), GetValueType(), operator=(), ResizeData(), ResolveValue(), SetBytes(), and SetValueType().