commit | d75e3c7e0b326481fa6c1eaa16a92217678213cd | [log] [tgz] |
---|---|---|
author | Johnny Chen <johnny.chen@apple.com> | Wed Apr 14 01:17:37 2010 +0000 |
committer | Johnny Chen <johnny.chen@apple.com> | Wed Apr 14 01:17:37 2010 +0000 |
tree | 79382db9678e7b837113fddc6aa2f1404c9f59a6 | |
parent | db369d16f507760deb29f93afbda2d4fa2215435 [diff] |
Fixed an assert() exposed by fuzzing. Now, instead of assert when an invalid instruction encoding is encountered, we just return a NULL ARMBasicMCBuilder instance and the client just returns false to indicate disassembly error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101201 91177308-0d34-0410-b5e6-96231b3b80d8