Fixed another assert exposed by fuzzing. Now, when an encoding error occurs
authorJohnny Chen <johnny.chen@apple.com>
Wed, 14 Apr 2010 02:05:29 +0000 (02:05 +0000)
committerJohnny Chen <johnny.chen@apple.com>
Wed, 14 Apr 2010 02:05:29 +0000 (02:05 +0000)
commit6f72ab345de0711aaa5509fd6de38f4eb0ed4070
treecff08d1000093f7c90f670c2e4400c86da3c4543
parent1d526c38e2d903a6c27bb7b90c8636e7b6600136
Fixed another assert exposed by fuzzing.  Now, when an encoding error occurs
involing getBFCInvMask() where lsb <= msb does not hold true, the disassembler
just returns false, instead of assert, to indicate disassembly error.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101205 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp