OSDN Git Service

Improve ARM assembly parsing diagnostics a bit.
authorJim Grosbach <grosbach@apple.com>
Wed, 13 Jul 2011 18:49:30 +0000 (18:49 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 13 Jul 2011 18:49:30 +0000 (18:49 +0000)
commit19906729a490744ce3071d20e3d514cadc12e6c5
treead57a65f42a16d11ba8d64a1a0e66a4b2ddccd5d
parentda9f278c741e8ced7c1652720270918eb04ed348
Improve ARM assembly parsing diagnostics a bit.

Catch potential cascading errors on a malformed so_reg operand and bail after
the first error.

Add some tests for the diagnostics we do want.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135055 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
test/MC/ARM/diagnostics.s [new file with mode: 0644]