diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-01-21 02:33:10 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-01-21 02:33:10 +0000 |
commit | e502a6aad38cccb861eac7dfdde543e4ff248b9f (patch) | |
tree | 9a7bfbd48a7efa389091865ab52a3968e1521df8 /include/llvm | |
parent | 27276437ae2169640633f9961620a8d0b19deb39 (diff) | |
download | llvm-e502a6aad38cccb861eac7dfdde543e4ff248b9f.tar.gz llvm-e502a6aad38cccb861eac7dfdde543e4ff248b9f.tar.bz2 llvm-e502a6aad38cccb861eac7dfdde543e4ff248b9f.tar.xz |
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
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/MC/MCStreamer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/MC/MCStreamer.h b/include/llvm/MC/MCStreamer.h index 946baf1b7c..eb0eb7f19f 100644 --- a/include/llvm/MC/MCStreamer.h +++ b/include/llvm/MC/MCStreamer.h @@ -92,6 +92,8 @@ public: virtual void emitPad(int64_t Offset) = 0; virtual void emitRegSave(const SmallVectorImpl<unsigned> &RegList, bool isVector) = 0; + virtual void emitUnwindRaw(int64_t StackOffset, + const SmallVectorImpl<uint8_t> &Opcodes) = 0; virtual void switchVendor(StringRef Vendor) = 0; virtual void emitAttribute(unsigned Attribute, unsigned Value) = 0; |