================
@@ -540,9 +537,9 @@ class EntityVariableBase : public Materializer::Entity {
return;
}
- if (data.GetByteSize() <
+ if (data_or_err->GetByteSize() <
----------------
adrian-prantl wrote:
I like to add a
```
auto data = *data_or_err;
```
than there is no question about whether we forgot to check the error when
accessing data. Makes to code easier to read.
https://github.com/llvm/llvm-project/pull/130516
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits