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

Ilia Kuklin via lldb-commits lldb-commits at lists.llvm.org
Mon May 5 09:46:40 PDT 2025


kuilpd wrote:

One thing I'm not sure about here: will converting array type to a pointer, adding the index and then dereferencing work for Swift?
I tried just doing `base->GetChildAtIndex(index)`, but it doesn't work when the base is a pointer and it also returns an error when index is out of bounds, which shouldn't happen with C++. 

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


More information about the lldb-commits mailing list