================
@@ -494,6 +528,23 @@ Stream::create(const Directory &StreamDesc, const 
object::MinidumpFile &File) {
     }
     return std::make_unique<MemoryListStream>(std::move(Ranges));
   }
+  case StreamKind::Memory64List: {
+    Error Err = Error::success();
+    auto Memory64List = File.getMemory64List(Err);
+    if (Err)
+      return Err;
----------------
labath wrote:

```suggestion
    auto Memory64List = File.getMemory64List(Err);
```

I think we can delete this check, as the error will be checked below, and we 
will get an empty iterator range in case of early fatal errors.

https://github.com/llvm/llvm-project/pull/101272
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to