LLVM
8.0.1
|
#include "llvm/MC/MCWin64EH.h"
#include "llvm/ADT/Twine.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCObjectFileInfo.h"
#include "llvm/MC/MCObjectStreamer.h"
#include "llvm/MC/MCSectionCOFF.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/Support/Win64EH.h"
Go to the source code of this file.
|
static |
Definition at line 265 of file MCWin64EH.cpp.
References I, llvm_unreachable, llvm::Win64EH::UOP_AddFP, llvm::Win64EH::UOP_AllocLarge, llvm::Win64EH::UOP_AllocMedium, llvm::Win64EH::UOP_AllocSmall, llvm::Win64EH::UOP_End, llvm::Win64EH::UOP_Nop, llvm::Win64EH::UOP_SaveFPLR, llvm::Win64EH::UOP_SaveFPLRX, llvm::Win64EH::UOP_SaveFReg, llvm::Win64EH::UOP_SaveFRegP, llvm::Win64EH::UOP_SaveFRegPX, llvm::Win64EH::UOP_SaveFRegX, llvm::Win64EH::UOP_SaveReg, llvm::Win64EH::UOP_SaveRegP, llvm::Win64EH::UOP_SaveRegPX, llvm::Win64EH::UOP_SaveRegX, and llvm::Win64EH::UOP_SetFP.
Referenced by ARM64EmitUnwindInfo().
|
static |
Definition at line 609 of file MCWin64EH.cpp.
References llvm::WinEH::FrameInfo::Begin, llvm::MCSymbolRefExpr::create(), EmitSymbolRefWithOfs(), llvm::MCStreamer::EmitValue(), llvm::MCStreamer::EmitValueToAlignment(), llvm::WinEH::FrameInfo::Function, llvm::MCStreamer::getContext(), llvm::WinEH::FrameInfo::Symbol, and llvm::MCSymbolRefExpr::VK_COFF_IMGREL32.
Referenced by llvm::Win64EH::ARM64UnwindEmitter::Emit().
|
static |
Definition at line 329 of file MCWin64EH.cpp.
References assert(), llvm::MCStreamer::EmitIntValue(), llvm_unreachable, llvm::WinEH::Instruction::Offset, llvm::WinEH::Instruction::Operation, llvm::WinEH::Instruction::Register, llvm::Win64EH::UOP_AddFP, llvm::Win64EH::UOP_AllocLarge, llvm::Win64EH::UOP_AllocMedium, llvm::Win64EH::UOP_AllocSmall, llvm::Win64EH::UOP_End, llvm::Win64EH::UOP_Nop, llvm::Win64EH::UOP_SaveFPLR, llvm::Win64EH::UOP_SaveFPLRX, llvm::Win64EH::UOP_SaveFReg, llvm::Win64EH::UOP_SaveFRegP, llvm::Win64EH::UOP_SaveFRegPX, llvm::Win64EH::UOP_SaveFRegX, llvm::Win64EH::UOP_SaveReg, llvm::Win64EH::UOP_SaveRegP, llvm::Win64EH::UOP_SaveRegPX, llvm::Win64EH::UOP_SaveRegX, and llvm::Win64EH::UOP_SetFP.
Referenced by ARM64EmitUnwindInfo().
|
static |
Definition at line 490 of file MCWin64EH.cpp.
References ARM64CountOfUnwindCodes(), ARM64EmitUnwindCode(), assert(), llvm::WinEH::FrameInfo::Begin, llvm::MCSymbolRefExpr::create(), llvm::MCContext::createTempSymbol(), llvm::MCStreamer::EmitIntValue(), llvm::MCStreamer::EmitLabel(), llvm::MCStreamer::EmitValue(), llvm::MCStreamer::EmitValueToAlignment(), llvm::MapVector< KeyT, ValueT, MapType, VectorType >::end(), llvm::WinEH::FrameInfo::EpilogMap, llvm::WinEH::FrameInfo::ExceptionHandler, llvm::MapVector< KeyT, ValueT, MapType, VectorType >::find(), FindMatchingEpilog(), llvm::WinEH::FrameInfo::FuncletOrFuncEnd, GetAbsDifference(), llvm::MCStreamer::getContext(), llvm::WinEH::FrameInfo::HandlesExceptions, I, llvm::WinEH::FrameInfo::Instructions, llvm::MapVector< KeyT, ValueT, MapType, VectorType >::lookup(), llvm::report_fatal_error(), llvm::WinEH::FrameInfo::Symbol, and llvm::MCSymbolRefExpr::VK_COFF_IMGREL32.
Referenced by llvm::Win64EH::ARM64UnwindEmitter::Emit(), and llvm::Win64EH::ARM64UnwindEmitter::EmitUnwindInfo().
|
static |
Definition at line 25 of file MCWin64EH.cpp.
References I, llvm_unreachable, llvm::Win64EH::UOP_AllocLarge, llvm::Win64EH::UOP_AllocSmall, llvm::Win64EH::UOP_PushMachFrame, llvm::Win64EH::UOP_PushNonVol, llvm::Win64EH::UOP_SaveNonVol, llvm::Win64EH::UOP_SaveNonVolBig, llvm::Win64EH::UOP_SaveXMM128, llvm::Win64EH::UOP_SaveXMM128Big, and llvm::Win64EH::UOP_SetFPReg.
Referenced by EmitUnwindInfo().
|
static |
Definition at line 53 of file MCWin64EH.cpp.
References Context, llvm::MCSymbolRefExpr::create(), llvm::MCBinaryExpr::createSub(), llvm::MCStreamer::EmitValue(), and llvm::MCStreamer::getContext().
Referenced by EmitUnwindCode(), and EmitUnwindInfo().
|
static |
Definition at line 143 of file MCWin64EH.cpp.
References llvm::WinEH::FrameInfo::Begin, llvm::MCSymbolRefExpr::create(), EmitSymbolRefWithOfs(), llvm::MCStreamer::EmitValue(), llvm::MCStreamer::EmitValueToAlignment(), llvm::WinEH::FrameInfo::End, llvm::WinEH::FrameInfo::Function, llvm::MCStreamer::getContext(), llvm::WinEH::FrameInfo::Symbol, and llvm::MCSymbolRefExpr::VK_COFF_IMGREL32.
Referenced by llvm::Win64EH::UnwindEmitter::Emit(), and EmitUnwindInfo().
|
static |
Definition at line 130 of file MCWin64EH.cpp.
References Context, llvm::MCSymbolRefExpr::create(), llvm::MCBinaryExpr::createAdd(), llvm::MCBinaryExpr::createSub(), llvm::MCStreamer::EmitValue(), llvm::MCStreamer::getContext(), and llvm::MCSymbolRefExpr::VK_COFF_IMGREL32.
Referenced by ARM64EmitRuntimeFunction(), and EmitRuntimeFunction().
|
static |
Definition at line 62 of file MCWin64EH.cpp.
References EmitAbsDifference(), llvm::MCStreamer::EmitIntValue(), llvm::WinEH::Instruction::Label, llvm_unreachable, llvm::WinEH::Instruction::Offset, llvm::WinEH::Instruction::Operation, llvm::WinEH::Instruction::Register, llvm::Win64EH::UOP_AllocLarge, llvm::Win64EH::UOP_AllocSmall, llvm::Win64EH::UOP_PushMachFrame, llvm::Win64EH::UOP_PushNonVol, llvm::Win64EH::UOP_SaveNonVol, llvm::Win64EH::UOP_SaveNonVolBig, llvm::Win64EH::UOP_SaveXMM128, llvm::Win64EH::UOP_SaveXMM128Big, and llvm::Win64EH::UOP_SetFPReg.
Referenced by EmitUnwindInfo().
|
static |
Definition at line 155 of file MCWin64EH.cpp.
References assert(), llvm::WinEH::FrameInfo::Begin, llvm::WinEH::FrameInfo::ChainedParent, CountOfUnwindCodes(), llvm::MCSymbolRefExpr::create(), llvm::MCContext::createTempSymbol(), EmitAbsDifference(), llvm::MCStreamer::EmitIntValue(), llvm::MCStreamer::EmitLabel(), EmitRuntimeFunction(), EmitUnwindCode(), llvm::MCStreamer::EmitValue(), llvm::MCStreamer::EmitValueToAlignment(), llvm::WinEH::FrameInfo::ExceptionHandler, llvm::MCStreamer::getContext(), llvm::WinEH::FrameInfo::HandlesExceptions, llvm::WinEH::FrameInfo::HandlesUnwind, llvm::WinEH::FrameInfo::Instructions, llvm::WinEH::FrameInfo::LastFrameInst, llvm::WinEH::Instruction::Offset, llvm::WinEH::Instruction::Operation, llvm::WinEH::FrameInfo::PrologEnd, llvm::WinEH::Instruction::Register, llvm::WinEH::FrameInfo::Symbol, llvm::Win64EH::UNW_ChainInfo, llvm::Win64EH::UNW_ExceptionHandler, llvm::Win64EH::UNW_TerminateHandler, llvm::Win64EH::UOP_SetFPReg, and llvm::MCSymbolRefExpr::VK_COFF_IMGREL32.
Referenced by llvm::Win64EH::UnwindEmitter::Emit(), and llvm::Win64EH::UnwindEmitter::EmitUnwindInfo().
|
static |
Definition at line 461 of file MCWin64EH.cpp.
References assert(), llvm::WinEH::FrameInfo::EpilogMap, llvm::Match, Operation, and Register.
Referenced by ARM64EmitUnwindInfo().
|
static |
Definition at line 252 of file MCWin64EH.cpp.
References Context, llvm::MCSymbolRefExpr::create(), llvm::MCBinaryExpr::createSub(), llvm::MCObjectStreamer::getAssembler(), and llvm::MCStreamer::getContext().
Referenced by ARM64EmitUnwindInfo().