llvm/test/tools/llvm-objdump/ARM/macho-arm-and-thumb.test
2015-06-16 17:37:03 +00:00

17 lines
336 B
Plaintext

@ RUN: llvm-mc < %s -triple armv7-apple-darwin -filetype=obj | llvm-objdump -m -d - | FileCheck %s
@ RUN: llvm-mc < %s -triple armv7-apple-darwin -filetype=obj | llvm-objdump -arch armv7 -m -d - | FileCheck %s
.thumb
.thumb_func _t
_t:
nop
nop
.align 2
.arm
_a:
nop
@ CHECK: 00 bf nop
@ CHECK-NEXT: 00 bf nop
@ CHECK: 00 f0 20 e3 nop