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.
2 parents bf31411 + 23071fb commit 85b044dCopy full SHA for 85b044d
lldb/source/Plugins/Language/Swift/SwiftHashedContainer.cpp
@@ -662,12 +662,13 @@ HashedCollectionConfig::CreateHandler(ValueObject &valobj) const {
662
663
ValueObjectSP bobject_sp =
664
variant_sp->GetChildAtNamePath({g_object, g_rawValue});
665
+ if (!bobject_sp)
666
+ return nullptr;
667
668
lldb::addr_t storage_location =
669
bobject_sp->GetValueAsUnsigned(LLDB_INVALID_ADDRESS);
- if (storage_location == LLDB_INVALID_ADDRESS) {
670
+ if (storage_location == LLDB_INVALID_ADDRESS)
671
return nullptr;
- }
672
673
ProcessSP process_sp = exe_ctx.GetProcessSP();
674
if (!process_sp)
0 commit comments