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