23 lines · plain
1@ RUN: llvm-mc -triple armv7-windows-gnu -filetype obj -o %t.obj %s2@ RUN: llvm-objdump --no-print-imm-hex -d %t.obj | FileCheck %s3@ RUN: llvm-mc -triple armv7-windows-msvc -filetype obj -o %t.obj %s4@ RUN: llvm-objdump --no-print-imm-hex -d %t.obj | FileCheck %s5 6 .syntax unified7 .thumb8 9 .text10 11 .global function12 .thumb_func13function:14 @ this is a comment15 mov r0, #42 @ this # was not16 nop; nop @ This retains both instructions17 bx lr18 19@ CHECK: 0: f04f 002a mov.w r0, #4220@ CHECK: 4: bf00 nop21@ CHECK: 6: bf00 nop22@ CHECK: 8: 4770 bx lr23