1 @ RUN
: llvm-mc
< %s
-triple armv7-linux-gnueabi
-filetype
=obj
-o
- \
2 @ RUN
: | llvm-readobj
-r | FileCheck
%s
10 beq.w internal_thumb_fn
12 .type internal_arm_fn,%function
18 .type global_arm_fn,%function
23 .type internal_thumb_fn,%function
29 .globl global_thumb_fn
30 .type global_thumb_fn,%function
36 @ CHECK
: Section
(3) .rel.text
37 @ CHECK-NEXT
: 0x0 R_ARM_THM_JUMP19 internal_arm_fn
0x0
38 @ CHECK-NEXT
: 0x4 R_ARM_THM_JUMP19 global_arm_fn
0x0