diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp --- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp +++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp @@ -1700,11 +1700,11 @@ } case objc_getRealizedClassList_trylock: { if (!m_objc_getRealizedClassList_trylock_helper.utility_function) - m_objc_copyRealizedClassList_helper.utility_function = + m_objc_getRealizedClassList_trylock_helper.utility_function = GetClassInfoUtilityFunctionImpl(exe_ctx, helper, g_get_dynamic_class_info3_body, g_get_dynamic_class_info3_name); - return m_objc_copyRealizedClassList_helper.utility_function.get(); + return m_objc_getRealizedClassList_trylock_helper.utility_function.get(); } } llvm_unreachable("Unexpected helper");