[Lldb-commits] [lldb] [LLDB] Update Shell lit config to handle c8031c3dd743 (PR #170225)

Dan Liew via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 3 14:07:15 PST 2025


delcypher wrote:

@bulbazord / @medismailben  This fix wasn't quite right. Here's an example showing why:

```
>>> test = b'xxx'
>>> type(test)
<class 'bytes'>
>>> str(test)
"b'xxx'"
>>> test.decode()
'xxx'
```

If you do `str()` on a bytes object you end up with `b'...'` in the string because of the object being a bytes object. You need to call `.decode()` on the bytes object to get the `str` representation.



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


More information about the lldb-commits mailing list