diff options
Diffstat (limited to 'test/MC/MachO/ARM/nop-thumb-padding.s')
-rw-r--r-- | test/MC/MachO/ARM/nop-thumb-padding.s | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/MC/MachO/ARM/nop-thumb-padding.s b/test/MC/MachO/ARM/nop-thumb-padding.s new file mode 100644 index 0000000..1e173f1 --- /dev/null +++ b/test/MC/MachO/ARM/nop-thumb-padding.s @@ -0,0 +1,12 @@ +@ RUN: llvm-mc -triple armv6-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', '8818c046 c046c046 c046c046 c046c046 8818') |