[Lldb-commits] [lldb] [lldb][Utility] Remove address size from Stream class (NFC) (PR #190375)

Sergei Barannikov via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 3 11:29:35 PDT 2026


s-barannikov wrote:

Byte order is used when streaming uint16_t/uint32_t etc. I think it is OK, but we could probably do better by extracting byte-swapping functionality into an adaptor, like LLVM does: https://github.com/llvm/llvm-project/blob/f98c36efefdc26afbb7dc2252f93cda56a36250a/llvm/include/llvm/Support/EndianStream.h#L67-L77


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


More information about the lldb-commits mailing list