1 @ RUN
: llvm-mc
-triple thumbv7-windows-itanium
-filetype obj
-o
- %s \
2 @ RUN
: | llvm-readobj
-r
- | FileCheck
-check-prefix CHECK-RELOCATIONS
%s
4 @ RUN
: llvm-mc
-triple thumbv7-windows-itanium
-filetype obj
-o
- %s \
5 @ RUN
: | llvm-objdump
-d
- | FileCheck
-check-prefix CHECK-ENCODING
%s
18 movw
r0, :lower16
:.Lerange
19 movt
r0, :upper16
:.Lerange
28 @ CHECK-RELOCATIONS
: Relocations
[
29 @ CHECK-RELOCATIONS
: .text {
30 @ CHECK-RELOCATIONS
: 0x0 IMAGE_REL_ARM_MOV32T
.rdata
31 @ CHECK-RELOCATIONS-
NOT: 0x4 IMAGE_REL_ARM_MOV32T
.rdata
32 @ CHECK-RELOCATIONS
: }
33 @ CHECK-RELOCATIONS
: ]
35 @ CHECK-ENCODING
: 0: 40 f2 00 00
36 @ CHECK-ENCODING-NEXT
: 4: c0
f2 01 00