summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-04-27 20:23:58 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-04-27 20:23:58 +0000
commit2dc04b460484faf17423a787f364a13f770b4523 (patch)
treee5d522f9926f20b7fd1ce402dc1be4abf424a234 /test
parentfe2da45555f3647ee08dfc4d5fc9c81fb0995c0e (diff)
downloadllvm-2dc04b460484faf17423a787f364a13f770b4523.tar.gz
llvm-2dc04b460484faf17423a787f364a13f770b4523.tar.bz2
llvm-2dc04b460484faf17423a787f364a13f770b4523.tar.xz
Add emitThumbSet to the arm target streamer.
This fixes the asm printer implementation and lets the parser be unaware of what .thumb_set is. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207381 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/ARM/thumb_set.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/MC/ARM/thumb_set.s b/test/MC/ARM/thumb_set.s
index d0bc9858dd..650e1e5f40 100644
--- a/test/MC/ARM/thumb_set.s
+++ b/test/MC/ARM/thumb_set.s
@@ -1,6 +1,9 @@
@ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s | llvm-readobj -t \
@ RUN: | FileCheck %s
+@ RUN: llvm-mc -triple armv7-eabi -filetype asm -o - %s \
+@ RUN: | FileCheck --check-prefix=ASM %s
+
.syntax unified
.arm
@@ -11,6 +14,8 @@ arm_func:
.thumb_set alias_arm_func, arm_func
+@ ASM: .thumb_set alias_arm_func, arm_func
+
.thumb
.type thumb_func,%function