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

Alexander Richardson via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 23 13:09:28 PST 2024


arichardson 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):
>        ...
> ```

I am using LLDB bundled with CLion, I will see if I can find the Python bindings.

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


More information about the llvm-commits mailing list