ARM: Diagnostics for out of range fixups.
authorJim Grosbach <grosbach@apple.com>
Mon, 30 Apr 2012 22:30:43 +0000 (22:30 +0000)
committerJim Grosbach <grosbach@apple.com>
Mon, 30 Apr 2012 22:30:43 +0000 (22:30 +0000)
commit7a3afa91ad8f68428373948fc16375e99bff3c6f
tree7ef4f7bb284a0afc2b21e018b974a3f921d0546b
parent887d095fb6c6fb0980ab90a9211fb2420d0da7c0
ARM: Diagnostics for out of range fixups.

Replace some assert() calls w/ actual diagnostics. In a perfect world,
there'd be range checks on these values long before things ever reached
this code. For now, though, issuing a better-late-than-never diagnostic
is still a big improvement over assert().

rdar://11347287

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