ARM IAS: add support for .unwind_raw directive
authorSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 21 Jan 2014 02:33:10 +0000 (02:33 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 21 Jan 2014 02:33:10 +0000 (02:33 +0000)
commite502a6aad38cccb861eac7dfdde543e4ff248b9f
tree9a7bfbd48a7efa389091865ab52a3968e1521df8
parent27276437ae2169640633f9961620a8d0b19deb39
ARM IAS: add support for .unwind_raw directive

This implements the unwind_raw directive for the ARM IAS.  The unwind_raw
directive takes the form of a stack offset value followed by one or more bytes
representing the opcodes to be emitted.  The opcode emitted will interpreted as
if it were assembled by the opcode assembler via the standard unwinding
directives.

Thanks to Logan Chien for an extra test!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199707 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCStreamer.h
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.h
test/MC/ARM/eh-directive-unwind_raw-diagnostics.s [new file with mode: 0644]
test/MC/ARM/eh-directive-unwind_raw.s [new file with mode: 0644]