LLDB mainline
|
#include <ValueObjectRegister.h>
Static Public Member Functions | |
static lldb::ValueObjectSP | Create (ExecutionContextScope *exe_scope, lldb::RegisterContextSP ®_ctx_sp, uint32_t set_idx) |
Static Public Member Functions inherited from lldb_private::ValueObject | |
static lldb::ValueObjectSP | CreateValueObjectFromExpression (llvm::StringRef name, llvm::StringRef expression, const ExecutionContext &exe_ctx) |
static lldb::ValueObjectSP | CreateValueObjectFromExpression (llvm::StringRef name, llvm::StringRef expression, const ExecutionContext &exe_ctx, const EvaluateExpressionOptions &options) |
static lldb::ValueObjectSP | CreateValueObjectFromAddress (llvm::StringRef name, uint64_t address, const ExecutionContext &exe_ctx, CompilerType type) |
static lldb::ValueObjectSP | CreateValueObjectFromData (llvm::StringRef name, const DataExtractor &data, const ExecutionContext &exe_ctx, CompilerType type) |
Protected Attributes | |
lldb::RegisterContextSP | m_reg_ctx_sp |
const RegisterSet * | m_reg_set |
uint32_t | m_reg_set_idx |
Protected Attributes inherited from lldb_private::ValueObject | |
ValueObject * | m_parent = nullptr |
The parent value object, or nullptr if this has no parent. | |
ValueObject * | m_root = nullptr |
The root of the hierarchy for this ValueObject (or nullptr if never calculated). | |
EvaluationPoint | m_update_point |
Stores both the stop id and the full context at which this value was last updated. | |
ConstString | m_name |
The name of this object. | |
DataExtractor | m_data |
A data extractor that can be used to extract the value. | |
Value | m_value |
Status | m_error |
An error object that can describe any errors that occur when updating values. | |
std::string | m_value_str |
Cached value string that will get cleared if/when the value is updated. | |
std::string | m_old_value_str |
Cached old value string from the last time the value was gotten. | |
std::string | m_location_str |
Cached location string that will get cleared if/when the value is updated. | |
std::string | m_summary_str |
Cached summary string that will get cleared if/when the value is updated. | |
std::string | m_object_desc_str |
Cached result of the "object printer". | |
CompilerType | m_override_type |
If the type of the value object should be overridden, the type to impose. | |
ValueObjectManager * | m_manager = nullptr |
This object is managed by the root object (any ValueObject that gets created without a parent.) The manager gets passed through all the generations of dependent objects, and will keep the whole cluster of objects alive as long as a shared pointer to any of them has been handed out. | |
ChildrenManager | m_children |
std::map< ConstString, ValueObject * > | m_synthetic_children |
ValueObject * | m_dynamic_value = nullptr |
ValueObject * | m_synthetic_value = nullptr |
ValueObject * | m_deref_valobj = nullptr |
lldb::ValueObjectSP | m_addr_of_valobj_sp |
We have to hold onto a shared pointer to this one because it is created as an independent ValueObjectConstResult, which isn't managed by us. | |
lldb::Format | m_format = lldb::eFormatDefault |
lldb::Format | m_last_format = lldb::eFormatDefault |
uint32_t | m_last_format_mgr_revision = 0 |
lldb::TypeSummaryImplSP | m_type_summary_sp |
lldb::TypeFormatImplSP | m_type_format_sp |
lldb::SyntheticChildrenSP | m_synthetic_children_sp |
ProcessModID | m_user_id_of_forced_summary |
AddressType | m_address_type_of_ptr_or_ref_children = eAddressTypeInvalid |
llvm::SmallVector< uint8_t, 16 > | m_value_checksum |
lldb::LanguageType | m_preferred_display_language = lldb::eLanguageTypeUnknown |
uint64_t | m_language_flags = 0 |
UserID | m_id |
Unique identifier for every value object. | |
struct lldb_private::ValueObject::Bitflags | m_flags |
Private Member Functions | |
ValueObjectRegisterSet (ExecutionContextScope *exe_scope, ValueObjectManager &manager, lldb::RegisterContextSP ®_ctx_sp, uint32_t set_idx) | |
ValueObjectRegisterSet (const ValueObjectRegisterSet &)=delete | |
const ValueObjectRegisterSet & | operator= (const ValueObjectRegisterSet &)=delete |
Friends | |
class | ValueObjectRegisterContext |
Definition at line 32 of file ValueObjectRegister.h.
|
overridedefault |
|
private |
Definition at line 52 of file ValueObjectRegister.cpp.
References lldb_private::ValueObject::m_name, m_reg_set, m_reg_set_idx, lldb_private::RegisterSet::name, and lldb_private::ConstString::SetCString().
|
privatedelete |
|
overridevirtual |
Should only be called by ValueObject::GetNumChildren().
Implements lldb_private::ValueObject.
Definition at line 78 of file ValueObjectRegister.cpp.
References m_reg_ctx_sp, m_reg_set_idx, and lldb_private::RegisterSet::num_registers.
|
static |
Definition at line 43 of file ValueObjectRegister.cpp.
References lldb_private::ClusterManager< T >::Create().
Referenced by lldb::SBFrame::FindValue(), and lldb::SBFrame::GetRegisters().
|
overridevirtual |
Should only be called by ValueObject::GetChildAtIndex().
Reimplemented from lldb_private::ValueObject.
Definition at line 118 of file ValueObjectRegister.cpp.
References lldb_private::ValueObject::GetNumChildrenIgnoringErrors(), m_reg_ctx_sp, m_reg_set, and lldb_private::RegisterSet::registers.
|
overridevirtual |
Implements lldb_private::ValueObject.
Definition at line 87 of file ValueObjectRegister.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ValueObject.
Definition at line 132 of file ValueObjectRegister.cpp.
References lldb_private::ValueObject::GetSP(), m_reg_ctx_sp, and m_reg_set.
|
overrideprotectedvirtual |
Implements lldb_private::ValueObject.
Definition at line 67 of file ValueObjectRegister.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ValueObject.
Definition at line 146 of file ValueObjectRegister.cpp.
References lldb::eRegisterKindLLDB, lldb_private::RegisterInfo::kinds, m_reg_ctx_sp, m_reg_set, and UINT32_MAX.
|
overridevirtual |
Reimplemented from lldb_private::ValueObject.
Definition at line 73 of file ValueObjectRegister.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ValueObject.
Definition at line 71 of file ValueObjectRegister.cpp.
|
inlineoverridevirtual |
Implements lldb_private::ValueObject.
Definition at line 42 of file ValueObjectRegister.h.
References lldb::eValueTypeRegisterSet.
|
privatedelete |
|
overrideprotectedvirtual |
Implements lldb_private::ValueObject.
Definition at line 89 of file ValueObjectRegister.cpp.
References lldb_private::Status::Clear(), lldb_private::ValueObject::ChildrenManager::Clear(), lldb_private::ValueObject::GetExecutionContextRef(), lldb_private::ExecutionContext::GetFramePtr(), lldb_private::StackFrame::GetRegisterContext(), lldb_private::ValueObject::m_children, lldb_private::ValueObject::m_error, lldb_private::ValueObject::m_name, m_reg_ctx_sp, m_reg_set, m_reg_set_idx, lldb_private::RegisterSet::name, lldb_private::ConstString::SetCString(), lldb_private::Status::SetErrorToGenericError(), lldb_private::ValueObject::SetValueDidChange(), lldb_private::ValueObject::SetValueIsValid(), and lldb_private::Status::Success().
|
friend |
Definition at line 70 of file ValueObjectRegister.h.
|
protected |
Definition at line 65 of file ValueObjectRegister.h.
Referenced by CalculateNumChildren(), CreateChildAtIndex(), GetChildMemberWithName(), GetIndexOfChildWithName(), and UpdateValue().
|
protected |
Definition at line 66 of file ValueObjectRegister.h.
Referenced by CreateChildAtIndex(), GetChildMemberWithName(), GetIndexOfChildWithName(), UpdateValue(), and ValueObjectRegisterSet().
|
protected |
Definition at line 67 of file ValueObjectRegister.h.
Referenced by CalculateNumChildren(), UpdateValue(), and ValueObjectRegisterSet().