[llvm] lldbDataFormatters: fix type error in StringRef printer (PR #82554)

Jonas Devlieghere via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 23 11:55:05 PST 2024


JDevlieghere wrote:

This should work (and does work locally for me). The only explanation I can think of is that this is being called with (older) bindings that don't have the variable names, but it seems to have been like this forever. 

What version of LLDB and Python are you using? If you know where the Python bindings live, it would be great to look at the signature of the function. For me it looks like this:

```
    def GetPointeeData(self, item_idx=0, item_count=1):
       ...
```


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


More information about the llvm-commits mailing list