1 @ RUN
: llvm-mc
-triple thumbv8m.base-eabi
-filetype asm
-o
- %s | FileCheck
%s
2 @ RUN
: llvm-mc
-triple thumbv8m.base-eabi
-filetype obj
-o
- %s | llvm-readobj
-r \
3 @ RUN
: | FileCheck
-check-prefix CHECK-RELOCATIONS
%s
7 .type function,%function
12 .type external,%function
16 movw
r0, :lower16
:function
17 movt
r0, :upper16
:function
20 @ CHECK
: movw
r0, :lower16
:function
21 @ CHECK
: movt
r0, :upper16
:function
23 @ CHECK-RELOCATIONS
: Relocations
[
24 @ CHECK-RELOCATIONS
: 0x2 R_ARM_THM_MOVW_ABS_NC function
0x0
25 @ CHECK-RELOCATIONS
: 0x6 R_ARM_THM_MOVT_ABS function
0x0
26 @ CHECK-RELOCATIONS
: ]