diff options
author | Simon Dardis <simon.dardis@imgtec.com> | 2017-02-24 10:50:27 +0000 |
---|---|---|
committer | Simon Dardis <simon.dardis@imgtec.com> | 2017-02-24 10:50:27 +0000 |
commit | a5f52dc00d55e78227d979d424986ada394825c1 (patch) | |
tree | 9c56d75c5fb6299151efe60e6b76e1f16bd399a0 /llvm/test/tools/llvm-objdump/Mips | |
parent | c21d1e5d94dcab9597fa761117806de8f2b35e42 (diff) | |
download | bcm5719-llvm-a5f52dc00d55e78227d979d424986ada394825c1.tar.gz bcm5719-llvm-a5f52dc00d55e78227d979d424986ada394825c1.zip |
[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
Diffstat (limited to 'llvm/test/tools/llvm-objdump/Mips')
0 files changed, 0 insertions, 0 deletions