[PATCH] D117779: [LLDB] Add formatters for PointerIntPair, PointerUnion
Dave Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 14 10:55:51 PST 2022
kastiglione added inline comments.
================
Comment at: llvm/utils/lldbDataFormatters.py:185
+ error = lldb.SBError()
+ string = data.ReadRawData(error, 0, data.GetByteSize()).decode()
+ if error.Fail():
----------------
For some binary strings, `decode` will thrown an exception.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117779/new/
https://reviews.llvm.org/D117779
More information about the llvm-commits
mailing list