54 bool omit_empty_base_classes =
true;
55 bool ignore_array_bounds =
false;
56 const bool transparent_pointers =
true;
62 &exe_ctx, idx, transparent_pointers, omit_empty_base_classes,
70 if (!child_or_err || !child_or_err->type.IsValid()) {
72 "could not find child: {0}");
100 bool omit_empty_base_classes =
true;
101 bool ignore_array_bounds =
true;
103 const bool transparent_pointers =
false;
109 &exe_ctx, 0, transparent_pointers, omit_empty_base_classes,
116 if (!child_or_err || !child_or_err->type.IsValid()) {
118 "could not find child: {0}");
141 uint32_t offset,
const CompilerType &type,
bool can_create,
147 offset, type, can_create, name_const_str);
162 std::string new_name(
"&");
187 return result_cast->
GetSP();
197 return m_impl_backend->ValueObject::GetAddressOf(scalar_is_load_address);
204 uint32_t item_count) {
207 return m_impl_backend->ValueObject::GetPointeeData(data, item_idx,
static llvm::raw_ostream & error(Stream &strm)
#define LLDB_LOG_ERROR(log, error,...)
Generic representation of a type in a programming language.
CompilerType GetPointerType() const
Return a new CompilerType that is a pointer to this type.
llvm::Expected< ChildTypeInfo > GetChildAtIndex(ExecutionContext *exe_ctx, size_t idx, bool transparent_pointers, bool omit_empty_base_classes, bool ignore_array_bounds, ValueObject *valobj) const
Get the child at idx, such as a field, a base class or a pointee.
bool IsPointerType(CompilerType *pointee_type=nullptr) const
A uniqued constant string class.
A subclass of DataBuffer that stores a data buffer on the heap.
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
ExecutionContextScope * GetBestExecutionContextScope() const
uint32_t GetAddressByteSize() const
lldb::ValueObjectSP GetSyntheticChildAtOffset(uint32_t offset, const CompilerType &type, bool can_create, ConstString name_const_str=ConstString())
virtual size_t GetPointeeData(DataExtractor &data, uint32_t item_idx=0, uint32_t item_count=1)
lldb::ValueObjectSP AddressOf(Status &error)
AddressType m_live_address_type
ValueObjectConstResultImpl(ValueObject *valobj, lldb::addr_t live_address=LLDB_INVALID_ADDRESS)
lldb::ValueObjectSP m_address_of_backend
ValueObject * CreateChildAtIndex(size_t idx)
ValueObject * m_impl_backend
lldb::ValueObjectSP Cast(const CompilerType &compiler_type)
lldb::addr_t m_live_address
The memory address in the inferior process that this ValueObject tracks.
lldb::ValueObjectSP Dereference(Status &error)
virtual ValueObject::AddrAndType GetAddressOf(bool scalar_is_load_address=true)
ValueObject * CreateSyntheticArrayMember(size_t idx)
static lldb::ValueObjectSP Create(ExecutionContextScope *exe_scope, lldb::ByteOrder byte_order, uint32_t addr_byte_size, lldb::addr_t address=LLDB_INVALID_ADDRESS, ValueObjectManager *manager=nullptr)
These routines create ValueObjectConstResult ValueObjects from various data sources.
lldb::ValueObjectSP GetSP()
@ Scalar
A raw scalar value.
#define LLDB_INVALID_ADDRESS
lldb::ByteOrder InlHostByteOrder()
A class that represents a running process on the host machine.
Log * GetLog(Cat mask)
Retrieve the Log object for the channel associated with the given log enum.
@ eAddressTypeLoad
Address is an address as in the current target inferior process.
std::shared_ptr< lldb_private::ValueObject > ValueObjectSP
std::shared_ptr< lldb_private::DataBuffer > DataBufferSP
A child of a type, as returned by CompilerType::GetChildAtIndex.
uint32_t bitfield_bit_size
uint32_t bitfield_bit_offset