[Lldb-commits] [PATCH] D69210: [Disassembler] Simplify MCInst predicates
Vedant Kumar via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 18 18:06:20 PDT 2019
vsk created this revision.
vsk added reviewers: jasonmolenda, ab.
DisassemblerLLVMC exposes a few MCInst predicates (e.g. `HasDelaySlot`).
Group the logic for evaluating the existing predicates together, to prep
for adding new ones.
This is NFC-ish: with this change, the existing predicates will return
the conservative defaults when the disassembler is unavailable instead
of false, but I'm not sure that really matters.
https://reviews.llvm.org/D69210
Files:
lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69210.225728.patch
Type: text/x-patch
Size: 5370 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191019/849f161f/attachment.bin>
More information about the lldb-commits
mailing list