llvm-project/lld/test/pecoff/armnt-movt32t.test

18 lines
630 B
Plaintext

# REQUIRES: arm
# RUN: yaml2obj -format coff -o %t.obj %p/Inputs/armnt-mov32t.obj.yaml
# RUN: llvm-objdump -d %t.obj | FileCheck %s -check-prefix BEFORE
# RUN: lld -flavor link /entry:get_buffer /subsystem:console /out:%t.exe %t.obj
# RUN: llvm-objdump -d %t.exe | FileCheck %s -check-prefix AFTER
BEFORE: Disassembly of section .text:
BEFORE: 0: 40 f2 00 00 movw r0, #0
BEFORE: 4: c0 f2 00 00 movt r0, #0
BEFORE: 8: 70 47 bx lr
AFTER: Disassembly of section .text:
AFTER: 0: 41 f2 00 00 movw r0, #4096
AFTER: 4: c0 f2 40 00 movt r0, #64
AFTER: 8: 70 47 bx lr