[Lldb-commits] [PATCH] D119857: [lldb] Don't rely on unsigned integer wrapping in PutRawBytes and PutBytesAsRawHex8
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 16 01:14:31 PST 2022
labath added a comment.
Another option would be to go full-STL and do something like
ArrayRef<uint8_t> data(ptr, len);
if (reverse)
for (uint8_t byte: llvm::reverse(data))
...
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119857/new/
https://reviews.llvm.org/D119857
More information about the lldb-commits
mailing list