[Lldb-commits] [lldb] [LLDB] Add array subscription and integer parsing to DIL (PR #141102)

Ilia Kuklin via lldb-commits lldb-commits at lists.llvm.org
Thu May 22 09:58:04 PDT 2025


kuilpd wrote:

@labath 
This code
```
    llvm::Expected<uint32_t> num_children = synthetic->GetNumChildren(child_idx + 1);
```
didn't work for `std::vector` on Windows on AArch64, got a buildbot error there: https://lab.llvm.org/buildbot/#/builders/141/builds/8906

```
AssertionError: '<user expression 0>:1:7: array index 1 is not valid for "(vector<int, std::allocator<int> >) vector"
   1 | vector[1]
     | ^' is not success
```

It returned some value, but probably zero, so the `child_idx >= *num_children` failed.
I don't know how to even approach this, can we just skip the test for now as I did in the second commit?

https://github.com/llvm/llvm-project/pull/141102


More information about the lldb-commits mailing list