Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ extern "C"
static const char *g_get_shared_cache_class_info_name =
"__lldb_apple_objc_v2_get_shared_cache_class_info";

static const char *g_get_shared_cache_class_info_body = R"(
static const char *g_get_shared_cache_class_info_definitions = R"(

extern "C"
{
Expand Down Expand Up @@ -411,6 +411,9 @@ struct ClassInfo
Class isa;
uint32_t hash;
} __attribute__((__packed__));
)";

static const char *g_get_shared_cache_class_info_body = R"(

uint32_t
__lldb_apple_objc_v2_get_shared_cache_class_info (void *objc_opt_ro_ptr,
Expand Down Expand Up @@ -1962,6 +1965,7 @@ AppleObjCRuntimeV2::SharedCacheClassInfoExtractor::
class_name_getter_function_name.AsCString(),
class_name_getter_function_name.AsCString());

shared_class_expression += g_get_shared_cache_class_info_definitions;
shared_class_expression += g_get_shared_cache_class_info_body;

auto utility_fn_or_error = exe_ctx.GetTargetRef().CreateUtilityFunction(
Expand Down
Loading