1 @ RUN
: not llvm-mc
-triple thumbv7-apple-ios
-filetype
=obj
%s
-o
/dev
/null
2>&1 | FileCheck
%s
9 @
A misaligned ARM destination.
16 @
And a properly aligned one.
23 @ Align this Thumb function so we can predict the outcome of
24 @
"Align(PC, 4)" during blx operation.
30 blx _misaligned @ PC
=0 (mod
4)
32 blx _misaligned @ PC
=2 (mod
4)
34 blx _aligned @ PC
=0 (mod
4)
36 blx _aligned @ PC
=2 (mod
4)
38 @ CHECK
: error
: misaligned ARM call destination
39 @ CHECK
: blx _misaligned
40 @ CHECK
: error
: misaligned ARM call destination
41 @ CHECK
: blx _misaligned