summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/debugtrap.ll
diff options
context:
space:
mode:
authorAlexandros Lamprineas <alexandros.lamprineas@arm.com>2016-01-29 10:23:32 +0000
committerAlexandros Lamprineas <alexandros.lamprineas@arm.com>2016-01-29 10:23:32 +0000
commit8c26e7c647fb20689bc3a41fcbae6888af04cdb6 (patch)
tree8c07cc4d3511cc6927e865fafe28d25481c318ae /llvm/test/CodeGen/ARM/debugtrap.ll
parent36175cc095ce109916cbcb8537f519fd120f6afb (diff)
downloadbcm5719-llvm-8c26e7c647fb20689bc3a41fcbae6888af04cdb6.tar.gz
bcm5719-llvm-8c26e7c647fb20689bc3a41fcbae6888af04cdb6.zip
[ARM] Emit trap instruction using .inst directive
The trap instruction is emitted as a data-in-text rather than an instruction. This patch uses the .inst directive for emitting trap. Differential Revision: http://reviews.llvm.org/D16684 llvm-svn: 259182
Diffstat (limited to 'llvm/test/CodeGen/ARM/debugtrap.ll')
-rw-r--r--llvm/test/CodeGen/ARM/debugtrap.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/ARM/debugtrap.ll b/llvm/test/CodeGen/ARM/debugtrap.ll
index 3d8cdea6cda..5064a4ec2ca 100644
--- a/llvm/test/CodeGen/ARM/debugtrap.ll
+++ b/llvm/test/CodeGen/ARM/debugtrap.ll
@@ -10,7 +10,7 @@ define void @test() nounwind {
entry:
; CHECK: bl foo
; CHECK-NEXT: pop
- ; CHECK-NEXT: trap
+ ; CHECK-NEXT: .inst 0xe7ffdefe
call void @foo()
call void @llvm.debugtrap()
ret void
OpenPOWER on IntegriCloud