llvm-project/llvm/lib/Target/Mips/Disassembler
Simon Dardis a5f52dc00d [mips][mc] Fix a crash when disassembling odd sized sections
Make the MIPS disassembler consistent with the other targets in returning
a Size of zero when the input buffer cannot contain an instruction due
to it's size. Previously it reported the minimum instruction size when
it failed due to the buffer not being big enough for an instruction
causing llvm-objdump to crash when disassembling all sections.

Reviewers: slthakur

Differential Revision: https://reviews.llvm.org/D29984

llvm-svn: 296105
2017-02-24 10:50:27 +00:00
..
CMakeLists.txt
LLVMBuild.txt
MipsDisassembler.cpp [mips][mc] Fix a crash when disassembling odd sized sections 2017-02-24 10:50:27 +00:00