OSDN Git Service

ARM: report an error when attempting to target a misalgined BLX
authorTim Northover <tnorthover@apple.com>
Tue, 10 May 2016 21:48:48 +0000 (21:48 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 10 May 2016 21:48:48 +0000 (21:48 +0000)
commit946a2f08b8811fe325e8a0584433623f89c8eef4
treef074dce9f29386806776115c3270a16a67c894c9
parent654d431cf92ad44d5398d90cc68b99d5f5e32339
ARM: report an error when attempting to target a misalgined BLX

The CodeGen problem was fixed in r269101, but we still miscompiled assembly
that tried the same thing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269126 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
test/MC/ARM/aligned-blx.s [new file with mode: 0644]
test/MC/ARM/misaligned-blx.s [new file with mode: 0644]