#include "lldb/Core/ValueObjectMemory.h"
#include "lldb/Core/Value.h"
#include "lldb/Core/ValueObject.h"
#include "lldb/Symbol/Type.h"
#include "lldb/Target/ExecutionContext.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/DataExtractor.h"
#include "lldb/Utility/Scalar.h"
#include "lldb/Utility/Status.h"
#include "lldb/lldb-types.h"
#include "llvm/Support/ErrorHandling.h"
#include <cassert>
#include <memory>
#include <optional>
namespace lldb_private {
class ExecutionContextScope;
}
usingnamespacelldb;
usingnamespacelldb_private;
ValueObjectSP ValueObjectMemory::Create(ExecutionContextScope *exe_scope,
llvm::StringRef name,
const Address &address,
lldb::TypeSP &type_sp) { … }
ValueObjectSP ValueObjectMemory::Create(ExecutionContextScope *exe_scope,
llvm::StringRef name,
const Address &address,
const CompilerType &ast_type) { … }
ValueObjectMemory::ValueObjectMemory(ExecutionContextScope *exe_scope,
ValueObjectManager &manager,
llvm::StringRef name,
const Address &address,
lldb::TypeSP &type_sp)
: … { … }
ValueObjectMemory::ValueObjectMemory(ExecutionContextScope *exe_scope,
ValueObjectManager &manager,
llvm::StringRef name,
const Address &address,
const CompilerType &ast_type)
: … { … }
ValueObjectMemory::~ValueObjectMemory() = default;
CompilerType ValueObjectMemory::GetCompilerTypeImpl() { … }
ConstString ValueObjectMemory::GetTypeName() { … }
ConstString ValueObjectMemory::GetDisplayTypeName() { … }
llvm::Expected<uint32_t> ValueObjectMemory::CalculateNumChildren(uint32_t max) { … }
std::optional<uint64_t> ValueObjectMemory::GetByteSize() { … }
lldb::ValueType ValueObjectMemory::GetValueType() const { … }
bool ValueObjectMemory::UpdateValue() { … }
bool ValueObjectMemory::IsInScope() { … }
lldb::ModuleSP ValueObjectMemory::GetModule() { … }