ARM disassembler was erroneously accepting an invalid RSC instruction.
authorJohnny Chen <johnny.chen@apple.com>
Tue, 5 Apr 2011 22:18:07 +0000 (22:18 +0000)
committerJohnny Chen <johnny.chen@apple.com>
Tue, 5 Apr 2011 22:18:07 +0000 (22:18 +0000)
commit5438d76416bdb074bd3135a7649b31c563a05dd9
tree566905a0f43eccb3f31acc4df7cfe9bf06f064b9
parent1a8b9dd7fb945ab78232f3853219cc693bcb5fad
ARM disassembler was erroneously accepting an invalid RSC instruction.
Added checks for regs which should not be 15.

rdar://problem/9237734

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128945 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp
test/MC/Disassembler/ARM/invalid-RSC-arm.txt [new file with mode: 0644]