diff options
Diffstat (limited to 'llvm/test/tools/llvm-objdump/ARM')
-rw-r--r-- | llvm/test/tools/llvm-objdump/ARM/macho-v7m.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objdump/ARM/macho-v7m.test b/llvm/test/tools/llvm-objdump/ARM/macho-v7m.test new file mode 100644 index 00000000000..938aa4f7d60 --- /dev/null +++ b/llvm/test/tools/llvm-objdump/ARM/macho-v7m.test @@ -0,0 +1,10 @@ +@ RUN: llvm-mc < %s -triple thumbv7m-apple-macho -filetype=obj | llvm-objdump -macho -d - | FileCheck %s +@ RUN: llvm-mc < %s -triple thumbv7em-apple-macho -filetype=obj | llvm-objdump -macho -d - | FileCheck %s + + .thumb + .thumb_func _t +_t: + @ A nice Cortex-M only instruction to make sure the default CPU is sound. + msr msp, r0 + +@ CHECK: msr msp, r0
\ No newline at end of file |