LLVM API Documentation

Public Member Functions
llvm::UnwindOpcodeAssembler Class Reference

#include <ARMUnwindOpAsm.h>

List of all members.

Public Member Functions

 UnwindOpcodeAssembler ()
void Reset ()
 Reset the unwind opcode assembler.
void setPersonality (const MCSymbol *Per)
 Set the personality.
void EmitRegSave (uint32_t RegSave)
 Emit unwind opcodes for .save directives.
void EmitVFPRegSave (uint32_t VFPRegSave)
 Emit unwind opcodes for .vsave directives.
void EmitSetSP (uint16_t Reg)
 Emit unwind opcodes to copy address from source register to $sp.
void EmitSPOffset (int64_t Offset)
 Emit unwind opcodes to add $sp with an offset.
void EmitRaw (const SmallVectorImpl< uint8_t > &Opcodes)
 Emit unwind raw opcodes.
void Finalize (unsigned &PersonalityIndex, SmallVectorImpl< uint8_t > &Result)
 Finalize the unwind opcode sequence for EmitBytes()

Detailed Description

Definition at line 26 of file ARMUnwindOpAsm.h.


Constructor & Destructor Documentation


Member Function Documentation

void llvm::UnwindOpcodeAssembler::EmitRaw ( const SmallVectorImpl< uint8_t > &  Opcodes) [inline]
void UnwindOpcodeAssembler::EmitRegSave ( uint32_t  RegSave)
void UnwindOpcodeAssembler::EmitSetSP ( uint16_t  Reg)

Emit unwind opcodes to copy address from source register to $sp.

Definition at line 156 of file ARMUnwindOpAsm.cpp.

References llvm::ARM::EHABI::UNWIND_OPCODE_SET_VSP.

void UnwindOpcodeAssembler::EmitSPOffset ( int64_t  Offset)
void UnwindOpcodeAssembler::EmitVFPRegSave ( uint32_t  VFPRegSave)
void UnwindOpcodeAssembler::Finalize ( unsigned PersonalityIndex,
SmallVectorImpl< uint8_t > &  Result 
)

Reset the unwind opcode assembler.

Definition at line 39 of file ARMUnwindOpAsm.h.

References llvm::SmallVectorImpl< T >::clear(), and llvm::SmallVectorTemplateBase< T, isPodLike >::push_back().

Referenced by Finalize().

Set the personality.

Definition at line 47 of file ARMUnwindOpAsm.h.


The documentation for this class was generated from the following files: