LLDB mainline
|
A frozen ValueObject copied into host memory. More...
#include <ValueObjectConstResult.h>
Public Member Functions | |
~ValueObjectConstResult () override | |
std::optional< uint64_t > | GetByteSize () override |
lldb::ValueType | GetValueType () const override |
llvm::Expected< uint32_t > | CalculateNumChildren (uint32_t max) override |
Should only be called by ValueObject::GetNumChildren(). | |
ConstString | GetTypeName () override |
ConstString | GetDisplayTypeName () override |
bool | IsInScope () override |
void | SetByteSize (size_t size) |
lldb::ValueObjectSP | Dereference (Status &error) override |
lldb::ValueObjectSP | GetSyntheticChildAtOffset (uint32_t offset, const CompilerType &type, bool can_create, ConstString name_const_str=ConstString()) override |
lldb::ValueObjectSP | AddressOf (Status &error) override |
lldb::addr_t | GetAddressOf (bool scalar_is_load_address=true, AddressType *address_type=nullptr) override |
size_t | GetPointeeData (DataExtractor &data, uint32_t item_idx=0, uint32_t item_count=1) override |
lldb::addr_t | GetLiveAddress () override |
void | SetLiveAddress (lldb::addr_t addr=LLDB_INVALID_ADDRESS, AddressType address_type=eAddressTypeLoad) override |
lldb::ValueObjectSP | GetDynamicValue (lldb::DynamicValueType valueType) override |
lldb::LanguageType | GetPreferredDisplayLanguage () override |
lldb::ValueObjectSP | DoCast (const CompilerType &compiler_type) override |
Public Member Functions inherited from lldb_private::ValueObject | |
virtual | ~ValueObject () |
const EvaluationPoint & | GetUpdatePoint () const |
EvaluationPoint & | GetUpdatePoint () |
const ExecutionContextRef & | GetExecutionContextRef () const |
lldb::TargetSP | GetTargetSP () const |
lldb::ProcessSP | GetProcessSP () const |
lldb::ThreadSP | GetThreadSP () const |
lldb::StackFrameSP | GetFrameSP () const |
void | SetNeedsUpdate () |
CompilerType | GetCompilerType () |
virtual TypeImpl | GetTypeImpl () |
virtual bool | CanProvideValue () |
virtual std::optional< uint64_t > | GetByteSize ()=0 |
virtual lldb::ValueType | GetValueType () const =0 |
virtual ConstString | GetTypeName () |
virtual ConstString | GetDisplayTypeName () |
virtual ConstString | GetQualifiedTypeName () |
lldb::LanguageType | GetObjectRuntimeLanguage () |
uint32_t | GetTypeInfo (CompilerType *pointee_or_element_compiler_type=nullptr) |
bool | IsPointerType () |
bool | IsArrayType () |
bool | IsScalarType () |
bool | IsPointerOrReferenceType () |
bool | IsPossibleDynamicType () |
bool | IsNilReference () |
bool | IsUninitializedReference () |
virtual bool | IsBaseClass () |
bool | IsBaseClass (uint32_t &depth) |
virtual bool | IsDereferenceOfParent () |
bool | IsIntegerType (bool &is_signed) |
virtual void | GetExpressionPath (Stream &s, GetExpressionPathFormat=eGetExpressionPathFormatDereferencePointers) |
lldb::ValueObjectSP | GetValueForExpressionPath (llvm::StringRef expression, ExpressionPathScanEndReason *reason_to_stop=nullptr, ExpressionPathEndResultType *final_value_type=nullptr, const GetValueForExpressionPathOptions &options=GetValueForExpressionPathOptions::DefaultOptions(), ExpressionPathAftermath *final_task_on_target=nullptr) |
virtual bool | IsInScope () |
virtual lldb::offset_t | GetByteOffset () |
virtual uint32_t | GetBitfieldBitSize () |
virtual uint32_t | GetBitfieldBitOffset () |
bool | IsBitfield () |
virtual const char * | GetValueAsCString () |
virtual bool | GetValueAsCString (const lldb_private::TypeFormatImpl &format, std::string &destination) |
bool | GetValueAsCString (lldb::Format format, std::string &destination) |
virtual uint64_t | GetValueAsUnsigned (uint64_t fail_value, bool *success=nullptr) |
virtual int64_t | GetValueAsSigned (int64_t fail_value, bool *success=nullptr) |
llvm::Expected< llvm::APSInt > | GetValueAsAPSInt () |
If the current ValueObject is of an appropriate type, convert the value to an APSInt and return that. | |
llvm::Expected< llvm::APFloat > | GetValueAsAPFloat () |
If the current ValueObject is of an appropriate type, convert the value to an APFloat and return that. | |
llvm::Expected< bool > | GetValueAsBool () |
If the current ValueObject is of an appropriate type, convert the value to a boolean and return that. | |
void | SetValueFromInteger (const llvm::APInt &value, Status &error) |
Update an existing integer ValueObject with a new integer value. | |
void | SetValueFromInteger (lldb::ValueObjectSP new_val_sp, Status &error) |
Update an existing integer ValueObject with an integer value created frome 'new_val_sp'. | |
virtual bool | SetValueFromCString (const char *value_str, Status &error) |
virtual lldb::ModuleSP | GetModule () |
Return the module associated with this value object in case the value is from an executable file and might have its data in sections of the file. | |
ValueObject * | GetRoot () |
ValueObject * | FollowParentChain (std::function< bool(ValueObject *)>) |
Given a ValueObject, loop over itself and its parent, and its parent's parent, . | |
virtual bool | GetDeclaration (Declaration &decl) |
const Status & | GetError () |
ConstString | GetName () const |
lldb::user_id_t | GetID () const |
Returns a unique id for this ValueObject. | |
virtual lldb::ValueObjectSP | GetChildAtIndex (uint32_t idx, bool can_create=true) |
lldb::ValueObjectSP | GetChildAtNamePath (llvm::ArrayRef< llvm::StringRef > names) |
virtual lldb::ValueObjectSP | GetChildMemberWithName (llvm::StringRef name, bool can_create=true) |
virtual size_t | GetIndexOfChildWithName (llvm::StringRef name) |
llvm::Expected< uint32_t > | GetNumChildren (uint32_t max=UINT32_MAX) |
uint32_t | GetNumChildrenIgnoringErrors (uint32_t max=UINT32_MAX) |
Like GetNumChildren but returns 0 on error. | |
bool | HasChildren () |
const Value & | GetValue () const |
Value & | GetValue () |
virtual bool | ResolveValue (Scalar &scalar) |
virtual bool | IsLogicalTrue (Status &error) |
virtual const char * | GetLocationAsCString () |
const char * | GetSummaryAsCString (lldb::LanguageType lang=lldb::eLanguageTypeUnknown) |
bool | GetSummaryAsCString (TypeSummaryImpl *summary_ptr, std::string &destination, lldb::LanguageType lang=lldb::eLanguageTypeUnknown) |
bool | GetSummaryAsCString (std::string &destination, const TypeSummaryOptions &options) |
bool | GetSummaryAsCString (TypeSummaryImpl *summary_ptr, std::string &destination, const TypeSummaryOptions &options) |
llvm::Expected< std::string > | GetObjectDescription () |
bool | HasSpecialPrintableRepresentation (ValueObjectRepresentationStyle val_obj_display, lldb::Format custom_format) |
bool | DumpPrintableRepresentation (Stream &s, ValueObjectRepresentationStyle val_obj_display=eValueObjectRepresentationStyleSummary, lldb::Format custom_format=lldb::eFormatInvalid, PrintableRepresentationSpecialCases special=PrintableRepresentationSpecialCases::eAllow, bool do_dump_error=true) |
bool | GetValueIsValid () const |
bool | GetValueDidChange () |
bool | UpdateValueIfNeeded (bool update_format=true) |
bool | UpdateFormatsIfNeeded () |
lldb::ValueObjectSP | GetSP () |
void | SetName (ConstString name) |
Change the name of the current ValueObject. | |
virtual lldb::addr_t | GetAddressOf (bool scalar_is_load_address=true, AddressType *address_type=nullptr) |
lldb::addr_t | GetPointerValue (AddressType *address_type=nullptr) |
lldb::ValueObjectSP | GetSyntheticChild (ConstString key) const |
lldb::ValueObjectSP | GetSyntheticArrayMember (size_t index, bool can_create) |
lldb::ValueObjectSP | GetSyntheticBitFieldChild (uint32_t from, uint32_t to, bool can_create) |
lldb::ValueObjectSP | GetSyntheticExpressionPathChild (const char *expression, bool can_create) |
virtual lldb::ValueObjectSP | GetSyntheticChildAtOffset (uint32_t offset, const CompilerType &type, bool can_create, ConstString name_const_str=ConstString()) |
virtual lldb::ValueObjectSP | GetSyntheticBase (uint32_t offset, const CompilerType &type, bool can_create, ConstString name_const_str=ConstString()) |
virtual lldb::ValueObjectSP | GetDynamicValue (lldb::DynamicValueType valueType) |
lldb::DynamicValueType | GetDynamicValueType () |
virtual lldb::ValueObjectSP | GetStaticValue () |
virtual lldb::ValueObjectSP | GetNonSyntheticValue () |
lldb::ValueObjectSP | GetSyntheticValue () |
virtual bool | HasSyntheticValue () |
virtual bool | IsSynthetic () |
lldb::ValueObjectSP | GetQualifiedRepresentationIfAvailable (lldb::DynamicValueType dynValue, bool synthValue) |
virtual lldb::ValueObjectSP | CreateConstantValue (ConstString name) |
virtual lldb::ValueObjectSP | Dereference (Status &error) |
virtual lldb::ValueObjectSP | Clone (ConstString new_name) |
Creates a copy of the ValueObject with a new name and setting the current ValueObject as its parent. | |
virtual lldb::ValueObjectSP | AddressOf (Status &error) |
virtual lldb::addr_t | GetLiveAddress () |
virtual void | SetLiveAddress (lldb::addr_t addr=LLDB_INVALID_ADDRESS, AddressType address_type=eAddressTypeLoad) |
lldb::ValueObjectSP | Cast (const CompilerType &compiler_type) |
virtual lldb::ValueObjectSP | DoCast (const CompilerType &compiler_type) |
virtual lldb::ValueObjectSP | CastPointerType (const char *name, CompilerType &ast_type) |
virtual lldb::ValueObjectSP | CastPointerType (const char *name, lldb::TypeSP &type_sp) |
lldb::addr_t | GetLoadAddress () |
Return the target load address associated with this value object. | |
llvm::Expected< lldb::ValueObjectSP > | CastDerivedToBaseType (CompilerType type, const llvm::ArrayRef< uint32_t > &base_type_indices) |
Take a ValueObject whose type is an inherited class, and cast it to 'type', which should be one of its base classes. | |
llvm::Expected< lldb::ValueObjectSP > | CastBaseToDerivedType (CompilerType type, uint64_t offset) |
Take a ValueObject whose type is a base class, and cast it to 'type', which should be one of its derived classes. | |
lldb::ValueObjectSP | CastToBasicType (CompilerType type) |
lldb::ValueObjectSP | CastToEnumType (CompilerType type) |
lldb::ValueObjectSP | GetVTable () |
If this object represents a C++ class with a vtable, return an object that represents the virtual function table. | |
void | ValueUpdated () |
virtual bool | IsDynamic () |
virtual bool | DoesProvideSyntheticValue () |
virtual bool | IsSyntheticChildrenGenerated () |
virtual void | SetSyntheticChildrenGenerated (bool b) |
virtual SymbolContextScope * | GetSymbolContextScope () |
llvm::Error | Dump (Stream &s) |
llvm::Error | Dump (Stream &s, const DumpValueObjectOptions &options) |
lldb::ValueObjectSP | Persist () |
bool | IsCStringContainer (bool check_pointer=false) |
Returns true if this is a char* or a char[] if it is a char* and check_pointer is true, it also checks that the pointer is valid. | |
std::pair< size_t, bool > | ReadPointedString (lldb::WritableDataBufferSP &buffer_sp, Status &error, bool honor_array) |
virtual size_t | GetPointeeData (DataExtractor &data, uint32_t item_idx=0, uint32_t item_count=1) |
virtual uint64_t | GetData (DataExtractor &data, Status &error) |
virtual bool | SetData (DataExtractor &data, Status &error) |
virtual bool | GetIsConstant () const |
bool | NeedsUpdating () |
void | SetIsConstant () |
lldb::Format | GetFormat () const |
virtual void | SetFormat (lldb::Format format) |
virtual lldb::LanguageType | GetPreferredDisplayLanguage () |
void | SetPreferredDisplayLanguage (lldb::LanguageType lt) |
lldb::TypeSummaryImplSP | GetSummaryFormat () |
void | SetSummaryFormat (lldb::TypeSummaryImplSP format) |
void | SetDerefValobj (ValueObject *deref) |
ValueObject * | GetDerefValobj () |
void | SetValueFormat (lldb::TypeFormatImplSP format) |
lldb::TypeFormatImplSP | GetValueFormat () |
void | SetSyntheticChildren (const lldb::SyntheticChildrenSP &synth_sp) |
lldb::SyntheticChildrenSP | GetSyntheticChildren () |
virtual ValueObject * | GetParent () |
virtual const ValueObject * | GetParent () const |
ValueObject * | GetNonBaseClassParent () |
void | SetAddressTypeOfChildren (AddressType at) |
AddressType | GetAddressTypeOfChildren () |
void | SetHasCompleteType () |
virtual bool | MightHaveChildren () |
Find out if a ValueObject might have children. | |
virtual lldb::VariableSP | GetVariable () |
virtual bool | IsRuntimeSupportValue () |
virtual uint64_t | GetLanguageFlags () |
virtual void | SetLanguageFlags (uint64_t flags) |
Static Public Member Functions | |
static lldb::ValueObjectSP | Create (ExecutionContextScope *exe_scope, lldb::ByteOrder byte_order, uint32_t addr_byte_size, lldb::addr_t address=LLDB_INVALID_ADDRESS) |
static lldb::ValueObjectSP | Create (ExecutionContextScope *exe_scope, const CompilerType &compiler_type, ConstString name, const DataExtractor &data, lldb::addr_t address=LLDB_INVALID_ADDRESS) |
static lldb::ValueObjectSP | Create (ExecutionContextScope *exe_scope, const CompilerType &compiler_type, ConstString name, const lldb::DataBufferSP &result_data_sp, lldb::ByteOrder byte_order, uint32_t addr_size, lldb::addr_t address=LLDB_INVALID_ADDRESS) |
static lldb::ValueObjectSP | Create (ExecutionContextScope *exe_scope, const CompilerType &compiler_type, ConstString name, lldb::addr_t address, AddressType address_type, uint32_t addr_byte_size) |
static lldb::ValueObjectSP | Create (ExecutionContextScope *exe_scope, Value &value, ConstString name, Module *module=nullptr) |
static lldb::ValueObjectSP | Create (ExecutionContextScope *exe_scope, const Status &error) |
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, bool do_deref=true) |
Given an address either create a value object containing the value at that address, or create a value object containing the address itself (pointer value), depending on whether the parameter 'do_deref' is true or false. | |
static lldb::ValueObjectSP | CreateValueObjectFromData (llvm::StringRef name, const DataExtractor &data, const ExecutionContext &exe_ctx, CompilerType type) |
static lldb::ValueObjectSP | CreateValueObjectFromAPInt (lldb::TargetSP target, const llvm::APInt &v, CompilerType type, llvm::StringRef name) |
Create a value object containing the given APInt value. | |
static lldb::ValueObjectSP | CreateValueObjectFromAPFloat (lldb::TargetSP target, const llvm::APFloat &v, CompilerType type, llvm::StringRef name) |
Create a value object containing the given APFloat value. | |
static lldb::ValueObjectSP | CreateValueObjectFromBool (lldb::TargetSP target, bool value, llvm::StringRef name) |
Create a value object containing the given boolean value. | |
static lldb::ValueObjectSP | CreateValueObjectFromNullptr (lldb::TargetSP target, CompilerType type, llvm::StringRef name) |
Create a nullptr value object with the specified type (must be a nullptr type). | |
Protected Attributes | |
ConstString | m_type_name |
std::optional< uint64_t > | m_byte_size |
ValueObjectConstResultImpl | m_impl |
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 |
Friends | |
class | ValueObjectConstResultImpl |
A frozen ValueObject copied into host memory.
Definition at line 34 of file ValueObjectConstResult.h.
|
overridedefault |
|
private |
Definition at line 39 of file ValueObjectConstResult.cpp.
References lldb_private::eAddressTypeLoad, lldb_private::ValueObject::m_data, lldb_private::DataExtractor::SetAddressByteSize(), lldb_private::ValueObject::SetAddressTypeOfChildren(), lldb_private::DataExtractor::SetByteOrder(), lldb_private::ValueObject::SetIsConstant(), and lldb_private::ValueObject::SetValueIsValid().
|
private |
Definition at line 63 of file ValueObjectConstResult.cpp.
References lldb_private::eAddressTypeLoad, lldb_private::DataExtractor::GetByteSize(), lldb_private::DataExtractor::GetDataStart(), lldb_private::Value::GetScalar(), lldb_private::DataExtractor::GetSharedDataBuffer(), lldb_private::Value::HostAddress, lldb_private::ValueObject::m_data, lldb_private::ValueObject::m_name, lldb_private::ValueObject::m_value, lldb_private::ValueObject::SetAddressTypeOfChildren(), lldb_private::Value::SetCompilerType(), lldb_private::DataExtractor::SetData(), lldb_private::ValueObject::SetIsConstant(), lldb_private::ValueObject::SetValueIsValid(), and lldb_private::Value::SetValueType().
|
private |
Definition at line 109 of file ValueObjectConstResult.cpp.
References lldb_private::eAddressTypeLoad, lldb_private::Scalar::GetBytes(), lldb_private::Value::GetScalar(), lldb_private::Value::HostAddress, lldb_private::ValueObject::m_data, lldb_private::ValueObject::m_name, lldb_private::ValueObject::m_value, lldb_private::DataExtractor::SetAddressByteSize(), lldb_private::ValueObject::SetAddressTypeOfChildren(), lldb_private::DataExtractor::SetByteOrder(), lldb_private::Value::SetCompilerType(), lldb_private::DataExtractor::SetData(), lldb_private::ValueObject::SetIsConstant(), lldb_private::ValueObject::SetValueIsValid(), and lldb_private::Value::SetValueType().
|
private |
Definition at line 140 of file ValueObjectConstResult.cpp.
References lldb_private::eAddressTypeFile, lldb_private::eAddressTypeHost, lldb_private::eAddressTypeInvalid, lldb_private::eAddressTypeLoad, lldb_private::Value::FileAddress, lldb_private::Scalar::GetData(), lldb_private::Value::GetScalar(), lldb_private::Value::HostAddress, lldb_private::Value::LoadAddress, lldb_private::ValueObject::m_data, lldb_private::ValueObject::m_name, lldb_private::ValueObject::m_value, lldb_private::Value::Scalar, lldb_private::DataExtractor::SetAddressByteSize(), lldb_private::ValueObject::SetAddressTypeOfChildren(), lldb_private::Value::SetCompilerType(), lldb_private::ValueObject::SetIsConstant(), lldb_private::ValueObject::SetValueIsValid(), and lldb_private::Value::SetValueType().
|
private |
Definition at line 185 of file ValueObjectConstResult.cpp.
References lldb_private::ExecutionContextScope::CalculateExecutionContext(), lldb_private::Value::GetValueAsData(), lldb_private::ValueObject::m_data, lldb_private::ValueObject::m_error, lldb_private::ValueObject::m_name, and lldb_private::ValueObject::m_value.
|
private |
Definition at line 177 of file ValueObjectConstResult.cpp.
References error(), lldb_private::ValueObject::m_error, and lldb_private::ValueObject::SetIsConstant().
|
privatedelete |
|
overridevirtual |
Reimplemented from lldb_private::ValueObject.
Definition at line 261 of file ValueObjectConstResult.cpp.
References lldb_private::ValueObjectConstResultImpl::AddressOf(), error(), and m_impl.
|
overridevirtual |
Should only be called by ValueObject::GetNumChildren().
Implements lldb_private::ValueObject.
Definition at line 220 of file ValueObjectConstResult.cpp.
References lldb_private::ValueObject::GetCompilerType(), lldb_private::ValueObject::GetExecutionContextRef(), and lldb_private::CompilerType::GetNumChildren().
|
static |
Definition at line 52 of file ValueObjectConstResult.cpp.
References lldb_private::ClusterManager< T >::Create().
|
static |
Definition at line 85 of file ValueObjectConstResult.cpp.
References lldb_private::ClusterManager< T >::Create().
|
static |
Definition at line 127 of file ValueObjectConstResult.cpp.
References lldb_private::ClusterManager< T >::Create().
|
static |
Definition at line 171 of file ValueObjectConstResult.cpp.
References lldb_private::ClusterManager< T >::Create(), and error().
|
static |
Definition at line 29 of file ValueObjectConstResult.cpp.
References lldb_private::ClusterManager< T >::Create().
Referenced by lldb_private::ValueObject::AddressOf(), lldb_private::ValueObjectConstResultImpl::AddressOf(), lldb_private::ValueObject::Cast(), lldb_private::ClangExpressionVariable::ClangExpressionVariable(), lldb_private::ValueObject::CreateConstantValue(), lldb_private::ValueObject::CreateValueObjectFromAddress(), lldb_private::ValueObject::CreateValueObjectFromData(), EntityPersistentVariable::Dematerialize(), EntityResultVariable::Dematerialize(), dump_type_value(), lldb_private::UserExpression::Evaluate(), lldb::SBFrame::EvaluateExpression(), lldb::SBTarget::EvaluateExpression(), lldb_private::Target::EvaluateExpression(), lldb_private::AppleObjCRuntime::GetBacktraceThreadFromException(), lldb_private::formatters::VectorTypeSyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::BlockPointerSyntheticFrontEnd::GetChildAtIndex(), lldb::SBTypeStaticField::GetConstantValue(), NSIndexPathSyntheticFrontEnd::Impl::InlinedIndexes::GetIndexAtIndex(), ABIMacOSX_arm64::GetReturnValueObjectImpl(), ABISysV_arm64::GetReturnValueObjectImpl(), ABIMacOSX_arm::GetReturnValueObjectImpl(), ABISysV_arm::GetReturnValueObjectImpl(), ABIMacOSX_i386::GetReturnValueObjectImpl(), ABISysV_mips::GetReturnValueObjectImpl(), ABISysV_mips64::GetReturnValueObjectImpl(), ABISysV_ppc::GetReturnValueObjectImpl(), ABISysV_x86_64::GetReturnValueObjectImpl(), ABIWindows_x86_64::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::Thread::GetSiginfoValue(), GetValObjFromFPRegs(), GetValObjFromIntRegs(), EntityPersistentVariable::MakeAllocation(), ObjCExceptionRecognizedStackFrame::ObjCExceptionRecognizedStackFrame(), lldb_private::ValueObject::Persist(), and lldb_private::AbortWithPayloadFrameRecognizer::RecognizeFrame().
|
static |
Definition at line 99 of file ValueObjectConstResult.cpp.
References lldb_private::ClusterManager< T >::Create().
|
inlineoverrideprivatevirtual |
Should only be called by ValueObject::GetChildAtIndex().
Reimplemented from lldb_private::ValueObject.
Definition at line 151 of file ValueObjectConstResult.h.
References lldb_private::ValueObjectConstResultImpl::CreateChildAtIndex(), and m_impl.
|
inlineoverrideprivatevirtual |
Should only be called by ValueObject::GetSyntheticArrayMember().
Reimplemented from lldb_private::ValueObject.
Definition at line 154 of file ValueObjectConstResult.h.
References lldb_private::ValueObjectConstResultImpl::CreateSyntheticArrayMember(), and m_impl.
|
overridevirtual |
Reimplemented from lldb_private::ValueObject.
Definition at line 250 of file ValueObjectConstResult.cpp.
References lldb_private::ValueObjectConstResultImpl::Dereference(), error(), and m_impl.
|
overridevirtual |
Reimplemented from lldb_private::ValueObject.
Definition at line 294 of file ValueObjectConstResult.cpp.
References lldb_private::ValueObjectConstResultImpl::Cast(), and m_impl.
|
overridevirtual |
Reimplemented from lldb_private::ValueObject.
Definition at line 265 of file ValueObjectConstResult.cpp.
References lldb_private::ValueObjectConstResultImpl::GetAddressOf(), and m_impl.
|
overridevirtual |
Implements lldb_private::ValueObject.
Definition at line 207 of file ValueObjectConstResult.cpp.
References lldb_private::ExecutionContext::GetBestExecutionContextScope(), GetByteSize(), lldb_private::ValueObject::GetCompilerType(), lldb_private::ValueObject::GetExecutionContextRef(), m_byte_size, and SetByteSize().
Referenced by GetByteSize().
|
overrideprotectedvirtual |
Implements lldb_private::ValueObject.
Definition at line 199 of file ValueObjectConstResult.cpp.
References lldb_private::Value::GetCompilerType(), and lldb_private::ValueObject::m_value.
Referenced by GetPreferredDisplayLanguage().
|
overridevirtual |
Reimplemented from lldb_private::ValueObject.
Definition at line 234 of file ValueObjectConstResult.cpp.
References lldb_private::ValueObject::GetCompilerType(), and lldb_private::CompilerType::GetDisplayTypeName().
|
overridevirtual |
Reimplemented from lldb_private::ValueObject.
Definition at line 277 of file ValueObjectConstResult.cpp.
References lldb::eNoDynamicValues, lldb_private::ValueObject::GetError(), lldb_private::ValueObject::GetExecutionContextRef(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::ValueObject::GetSP(), lldb_private::ValueObject::IsDynamic(), lldb_private::Process::IsPossibleDynamicValue(), lldb_private::ValueObject::m_dynamic_value, and lldb_private::Status::Success().
|
inlineoverridevirtual |
Reimplemented from lldb_private::ValueObject.
Definition at line 94 of file ValueObjectConstResult.h.
References lldb_private::ValueObjectConstResultImpl::GetLiveAddress(), and m_impl.
|
overridevirtual |
Reimplemented from lldb_private::ValueObject.
Definition at line 270 of file ValueObjectConstResult.cpp.
References lldb_private::ValueObjectConstResultImpl::GetPointeeData(), and m_impl.
|
overridevirtual |
Reimplemented from lldb_private::ValueObject.
Definition at line 298 of file ValueObjectConstResult.cpp.
References lldb::eLanguageTypeUnknown, GetCompilerTypeImpl(), lldb_private::CompilerType::GetMinimumLanguage(), and lldb_private::ValueObject::m_preferred_display_language.
|
overridevirtual |
Reimplemented from lldb_private::ValueObject.
Definition at line 254 of file ValueObjectConstResult.cpp.
References lldb_private::ValueObjectConstResultImpl::GetSyntheticChildAtOffset(), and m_impl.
|
overridevirtual |
Reimplemented from lldb_private::ValueObject.
Definition at line 228 of file ValueObjectConstResult.cpp.
References lldb_private::ValueObject::GetCompilerType(), lldb_private::CompilerType::GetTypeName(), lldb_private::ConstString::IsEmpty(), and m_type_name.
|
overridevirtual |
Implements lldb_private::ValueObject.
Definition at line 203 of file ValueObjectConstResult.cpp.
References lldb::eValueTypeConstResult.
|
overridevirtual |
Reimplemented from lldb_private::ValueObject.
Definition at line 244 of file ValueObjectConstResult.cpp.
|
privatedelete |
void ValueObjectConstResult::SetByteSize | ( | size_t | size | ) |
Definition at line 217 of file ValueObjectConstResult.cpp.
References m_byte_size.
Referenced by GetByteSize().
|
inlineoverridevirtual |
Reimplemented from lldb_private::ValueObject.
Definition at line 96 of file ValueObjectConstResult.h.
References m_impl, and lldb_private::ValueObjectConstResultImpl::SetLiveAddress().
|
overrideprotectedvirtual |
Implements lldb_private::ValueObject.
Definition at line 238 of file ValueObjectConstResult.cpp.
References lldb_private::ValueObject::SetValueIsValid().
|
friend |
Definition at line 119 of file ValueObjectConstResult.h.
|
protected |
Definition at line 114 of file ValueObjectConstResult.h.
Referenced by GetByteSize(), and SetByteSize().
|
protected |
Definition at line 116 of file ValueObjectConstResult.h.
Referenced by AddressOf(), CreateChildAtIndex(), CreateSyntheticArrayMember(), Dereference(), DoCast(), GetAddressOf(), GetLiveAddress(), GetPointeeData(), GetSyntheticChildAtOffset(), and SetLiveAddress().
|
protected |
Definition at line 113 of file ValueObjectConstResult.h.
Referenced by GetTypeName().