summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorSimon Dardis <simon.dardis@imgtec.com>2017-02-24 10:50:27 +0000
committerSimon Dardis <simon.dardis@imgtec.com>2017-02-24 10:50:27 +0000
commita5f52dc00d55e78227d979d424986ada394825c1 (patch)
tree9c56d75c5fb6299151efe60e6b76e1f16bd399a0 /llvm/test
parentc21d1e5d94dcab9597fa761117806de8f2b35e42 (diff)
downloadbcm5719-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')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud