[PATCH] D11665: Explicitly clear the MCInst operand list when calling the target disassembler. Otherwise, repeatedly passing in the same MCInst to getInstruction() will append the current instruction's operands to the previous instruction's operands.

Cameron Esfahani via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 10 18:16:04 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL244557: Explicitly clear the MI operand list when getInstruction() is called.  Call… (authored by dirty).

Changed prior to commit:
  http://reviews.llvm.org/D11665?vs=31270&id=31757#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D11665

Files:
  llvm/trunk/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
  llvm/trunk/lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp
  llvm/trunk/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
  llvm/trunk/lib/Target/X86/Disassembler/X86Disassembler.cpp
  llvm/trunk/utils/TableGen/FixedLenDecoderEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11665.31757.patch
Type: text/x-patch
Size: 6505 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150811/7ad04e24/attachment.bin>


More information about the llvm-commits mailing list