9#ifndef LLDB_SOURCE_PLUGINS_LANGUAGERUNTIME_OBJC_APPLEOBJCRUNTIME_APPLEOBJCRUNTIMEV1_H
10#define LLDB_SOURCE_PLUGINS_LANGUAGERUNTIME_OBJC_APPLEOBJCRUNTIME_APPLEOBJCRUNTIMEV1_H
35 bool isA(
const void *ClassID)
const override {
40 return runtime->
isA(&
ID);
62 uint64_t *value_bits =
nullptr,
63 uint64_t *payload =
nullptr)
override {
68 int64_t *value_bits =
nullptr,
69 uint64_t *payload =
nullptr)
override {
80 std::function<
bool(
const char *,
const char *)>
const
81 &instance_method_func,
82 std::function<
bool(
const char *,
const char *)>
const
84 std::function<
bool(
const char *,
const char *,
lldb::addr_t,
85 uint64_t)>
const &ivar_func)
const override;
106 llvm::Expected<std::unique_ptr<UtilityFunction>>
123 bool catch_bp,
bool throw_bp)
override;
A section + offset based address class.
ClassDescriptorSP GetSuperclass() override
lldb::ProcessWP m_process_wp
ClassDescriptorSP GetMetaclass() const override
bool Describe(std::function< void(ObjCLanguageRuntime::ObjCISA)> const &superclass_func, std::function< bool(const char *, const char *)> const &instance_method_func, std::function< bool(const char *, const char *)> const &class_method_func, std::function< bool(const char *, const char *, lldb::addr_t, uint64_t)> const &ivar_func) const override
uint64_t GetInstanceSize() override
~ClassDescriptorV1() override=default
ConstString GetClassName() override
bool GetTaggedPointerInfoSigned(uint64_t *info_bits=nullptr, int64_t *value_bits=nullptr, uint64_t *payload=nullptr) override
ObjCISA GetISA() override
bool GetTaggedPointerInfo(uint64_t *info_bits=nullptr, uint64_t *value_bits=nullptr, uint64_t *payload=nullptr) override
There are two routines in the ObjC runtime that tagged pointer clients can call to get the value from...
void UpdateSignature(uint32_t count, uint32_t num_buckets, lldb::addr_t buckets_ptr)
bool NeedsUpdate(uint32_t count, uint32_t num_buckets, lldb::addr_t buckets_ptr)
HashTableSignature()=default
lldb::addr_t m_buckets_ptr
DeclVendor * GetDeclVendor() override
static bool classof(const LanguageRuntime *runtime)
void UpdateISAToDescriptorMapIfNeeded() override
lldb::addr_t GetTaggedPointerObfuscator()
~AppleObjCRuntimeV1() override=default
static llvm::StringRef GetPluginNameStatic()
bool isA(const void *ClassID) const override
std::unique_ptr< DeclVendor > m_decl_vendor_up
lldb::BreakpointResolverSP CreateExceptionResolver(const lldb::BreakpointSP &bkpt, bool catch_bp, bool throw_bp) override
lldb::addr_t m_isa_hash_table_ptr
bool GetDynamicTypeAndAddress(ValueObject &in_value, lldb::DynamicValueType use_dynamic, TypeAndOrName &class_type_or_name, Address &address, Value::ValueType &value_type) override
llvm::Expected< std::unique_ptr< UtilityFunction > > CreateObjectChecker(std::string, ExecutionContext &exe_ctx) override
static lldb_private::LanguageRuntime * CreateInstance(Process *process, lldb::LanguageType language)
lldb::addr_t GetISAHashTablePointer()
ObjCRuntimeVersions GetRuntimeVersion() const override
HashTableSignature m_hash_signature
llvm::StringRef GetPluginName() override
bool isA(const void *ClassID) const override
A uniqued constant string class.
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
virtual bool isA(const void *ClassID) const
std::shared_ptr< ClassDescriptor > ClassDescriptorSP
A plug-in interface definition class for debugging a process.
Sometimes you can find the name of the type corresponding to an object, but we don't have debug infor...
ValueType
Type that describes Value::m_value.
#define LLDB_INVALID_ADDRESS
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::BreakpointResolver > BreakpointResolverSP
LanguageType
Programming language type.
std::shared_ptr< lldb_private::Breakpoint > BreakpointSP
std::shared_ptr< lldb_private::Process > ProcessSP
std::weak_ptr< lldb_private::Process > ProcessWP