diff options
| author | Jason Molenda <jmolenda@apple.com> | 2019-08-28 02:14:07 +0000 |
|---|---|---|
| committer | Jason Molenda <jmolenda@apple.com> | 2019-08-28 02:14:07 +0000 |
| commit | deeda85f3ffab8ef94cbbc9ff3737c61bdbbe58a (patch) | |
| tree | fb6dbe4b6721f429468fd627c874cbc2f55ed619 /lldb | |
| parent | e816421087b40e79ef0312f49434a75a97ac69e8 (diff) | |
| download | bcm5719-llvm-deeda85f3ffab8ef94cbbc9ff3737c61bdbbe58a.tar.gz bcm5719-llvm-deeda85f3ffab8ef94cbbc9ff3737c61bdbbe58a.zip | |
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
Diffstat (limited to 'lldb')
| -rw-r--r-- | lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp index 1ff3fc42dd0..5284775343b 100644 --- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp +++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp @@ -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); |

