File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -320,7 +320,7 @@ extern "C"
320320static const char *g_get_shared_cache_class_info_name =
321321 " __lldb_apple_objc_v2_get_shared_cache_class_info" ;
322322
323- static const char *g_get_shared_cache_class_info_body = R"(
323+ static const char *g_get_shared_cache_class_info_definitions = R"(
324324
325325extern "C"
326326{
@@ -411,6 +411,9 @@ struct ClassInfo
411411 Class isa;
412412 uint32_t hash;
413413} __attribute__((__packed__));
414+ )" ;
415+
416+ static const char *g_get_shared_cache_class_info_body = R"(
414417
415418uint32_t
416419__lldb_apple_objc_v2_get_shared_cache_class_info (void *objc_opt_ro_ptr,
@@ -1962,6 +1965,7 @@ AppleObjCRuntimeV2::SharedCacheClassInfoExtractor::
19621965 class_name_getter_function_name.AsCString (),
19631966 class_name_getter_function_name.AsCString ());
19641967
1968+ shared_class_expression += g_get_shared_cache_class_info_definitions;
19651969 shared_class_expression += g_get_shared_cache_class_info_body;
19661970
19671971 auto utility_fn_or_error = exe_ctx.GetTargetRef ().CreateUtilityFunction (
You can’t perform that action at this time.
0 commit comments