various cleanups, make the disassemble reject lines with too much
authorChris Lattner <sabre@nondot.org>
Tue, 22 Dec 2009 06:56:51 +0000 (06:56 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 22 Dec 2009 06:56:51 +0000 (06:56 +0000)
commit665e947740bb1909f9c3dc60927e8b9620d644e5
tree13f28c3325d1d8d6d1137d9e58521e0b21a20818
parentc3de94fabf3858ad57373171fa6bda407f2224c9
various cleanups, make the disassemble reject lines with too much
data on them, for example:

addb %al, (%rax)
simple-tests.txt:11:5: error: excess data detected in input
0 0 0 0 0
    ^

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91896 91177308-0d34-0410-b5e6-96231b3b80d8
test/MC/Disassembler/simple-tests.txt
tools/llvm-mc/HexDisassembler.cpp