llvm-6502/test/MC/MachO/ARM/nop-thumb2-padding.s
2011-12-07 17:50:28 +00:00

13 lines
314 B
ArmAsm

@ RUN: llvm-mc -triple armv7-apple-darwin %s -filetype=obj -o %t.obj
@ RUN: macho-dump --dump-section-data < %t.obj > %t.dump
@ RUN: FileCheck %s < %t.dump
.thumb_func x
.code 16
x:
adds r0, r1, r2
.align 4
adds r0, r1, r2
@ CHECK: ('_section_data', '881800bf 00bf00bf 00bf00bf 00bf00bf 8818')