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 cac9773 commit 9a88c2bCopy full SHA for 9a88c2b
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
@@ -2749,6 +2749,13 @@ AppleObjCRuntimeV2::TaggedPointerVendorRuntimeAssisted::GetClassDescriptor(
2749
return nullptr;
2750
actual_class_descriptor_sp =
2751
m_runtime.GetClassDescriptorFromISA((ObjCISA)slot_data);
2752
+ if (!actual_class_descriptor_sp) {
2753
+ if (ABISP abi_sp = process->GetABI()) {
2754
+ ObjCISA fixed_isa = abi_sp->FixCodeAddress((ObjCISA)slot_data);
2755
+ actual_class_descriptor_sp =
2756
+ m_runtime.GetClassDescriptorFromISA(fixed_isa);
2757
+ }
2758
2759
if (!actual_class_descriptor_sp)
2760
return ObjCLanguageRuntime::ClassDescriptorSP();
2761
m_cache[slot] = actual_class_descriptor_sp;
0 commit comments