We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fdf3d7 commit f5d024bCopy full SHA for f5d024b
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
@@ -2762,6 +2762,13 @@ AppleObjCRuntimeV2::TaggedPointerVendorRuntimeAssisted::GetClassDescriptor(
2762
return nullptr;
2763
actual_class_descriptor_sp =
2764
m_runtime.GetClassDescriptorFromISA((ObjCISA)slot_data);
2765
+ if (!actual_class_descriptor_sp) {
2766
+ if (ABISP abi_sp = process->GetABI()) {
2767
+ ObjCISA fixed_isa = abi_sp->FixCodeAddress((ObjCISA)slot_data);
2768
+ actual_class_descriptor_sp =
2769
+ m_runtime.GetClassDescriptorFromISA(fixed_isa);
2770
+ }
2771
2772
if (!actual_class_descriptor_sp)
2773
return ObjCLanguageRuntime::ClassDescriptorSP();
2774
m_cache[slot] = actual_class_descriptor_sp;
0 commit comments