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 065b571 commit de0aa7fCopy full SHA for de0aa7f
lldb/source/Plugins/Language/Swift/SwiftFormatters.cpp
@@ -805,6 +805,8 @@ class TaskSyntheticFrontEnd : public SyntheticChildrenFrontEnd {
805
ThreadSafeReflectionContext reflection_ctx =
806
runtime->GetReflectionContext();
807
ValueObjectSP task_obj_sp = m_backend.GetChildMemberWithName("_task");
808
+ if (!task_obj_sp)
809
+ return ChildCacheState::eRefetch;
810
uint64_t task_ptr = task_obj_sp->GetValueAsUnsigned(LLDB_INVALID_ADDRESS);
811
if (task_ptr != LLDB_INVALID_ADDRESS) {
812
llvm::Expected<ReflectionContextInterface::AsyncTaskInfo> task_info =
0 commit comments