File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ static const char *g_get_dynamic_class_info2_body = R"(
172
172
extern "C" {
173
173
int printf(const char * format, ...);
174
174
void free(void *ptr);
175
- Class* objc_copyRealizedClassList (unsigned int *outCount);
175
+ Class* objc_copyRealizedClassList_nolock (unsigned int *outCount);
176
176
const char* objc_debug_class_getNameRaw(Class cls);
177
177
}
178
178
@@ -199,7 +199,7 @@ __lldb_apple_objc_v2_get_dynamic_class_info2(void *gdb_objc_realized_classes_ptr
199
199
ClassInfo *class_infos = (ClassInfo *)class_infos_ptr;
200
200
201
201
uint32_t count = 0;
202
- Class* realized_class_list = objc_copyRealizedClassList (&count);
202
+ Class* realized_class_list = objc_copyRealizedClassList_nolock (&count);
203
203
DEBUG_PRINTF ("count = %u\n", count);
204
204
205
205
uint32_t idx = 0;
@@ -499,7 +499,7 @@ AppleObjCRuntimeV2::AppleObjCRuntimeV2(Process *process,
499
499
static const ConstString g_gdb_object_getClass (" gdb_object_getClass" );
500
500
m_has_object_getClass = HasSymbol (g_gdb_object_getClass);
501
501
static const ConstString g_objc_copyRealizedClassList (
502
- " objc_copyRealizedClassList " );
502
+ " objc_copyRealizedClassList_nolock " );
503
503
m_has_objc_copyRealizedClassList = HasSymbol (g_objc_copyRealizedClassList);
504
504
505
505
RegisterObjCExceptionRecognizer (process);
You can’t perform that action at this time.
0 commit comments