summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit466d66358ddcd4eb480d1d2dd82ad1d450a52f4c (patch)
treeb54ae835c79ab39d1559ac317e585718665fd1c9 /llvm/test
parent2893b2e1daa9c205728f71acc480b52994669c1b (diff)
downloadbcm5719-llvm-466d66358ddcd4eb480d1d2dd82ad1d450a52f4c.tar.gz
bcm5719-llvm-466d66358ddcd4eb480d1d2dd82ad1d450a52f4c.zip
Add emitThumbSet to the arm target streamer.
This fixes the asm printer implementation and lets the parser be unaware of what .thumb_set is. llvm-svn: 207381
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/MC/ARM/thumb_set.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/MC/ARM/thumb_set.s b/llvm/test/MC/ARM/thumb_set.s
index d0bc9858ddc..650e1e5f40e 100644
--- a/llvm/test/MC/ARM/thumb_set.s
+++ b/llvm/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
OpenPOWER on IntegriCloud