OSDN Git Service

[ARM] Emit trap instruction using .inst directive
authorAlexandros Lamprineas <alexandros.lamprineas@arm.com>
Fri, 29 Jan 2016 10:23:32 +0000 (10:23 +0000)
committerAlexandros Lamprineas <alexandros.lamprineas@arm.com>
Fri, 29 Jan 2016 10:23:32 +0000 (10:23 +0000)
commit73895c4cf0d8c3441fe10eb16c421c1faa6a667d
tree09184a0b9c44110638cd19e50600e39a7e51c83e
parent3d679fa973748bba687f1d18ba200921695fa127
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259182 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMAsmPrinter.cpp
test/CodeGen/ARM/debugtrap.ll
test/CodeGen/ARM/trap.ll