forked from OSchip/llvm-project
Update name of objc runtime SPI function we call for class names.
A new SPI was added to the objc runtime to get class names without any demangling; AppleObjCRuntimeV2::ParseClassInfoArray was using the original prototype name but had not been updated for the final name yet, so lldb was falling back to the old function and doing extra work for classes that were demangled. This commit fixes that. llvm-svn: 370152
This commit is contained in:
parent
e816421087
commit
deeda85f3f
|
@ -1601,7 +1601,7 @@ AppleObjCRuntimeV2::UpdateISAToDescriptorMapSharedCache() {
|
|||
// use that in our jitted expression. Else fall back to the old
|
||||
// class_getName.
|
||||
static ConstString g_class_getName_symbol_name("class_getName");
|
||||
static ConstString g_class_getNameRaw_symbol_name("class_getNameRaw");
|
||||
static ConstString g_class_getNameRaw_symbol_name("objc_debug_class_getNameRaw");
|
||||
ConstString class_name_getter_function_name = g_class_getName_symbol_name;
|
||||
|
||||
ObjCLanguageRuntime *objc_runtime = ObjCLanguageRuntime::Get(*process);
|
||||
|
|
Loading…
Reference in New Issue