forked from OSchip/llvm-project
Add stub methods to MCStreamer for emitting Win64 exception-handling
information. llvm-svn: 131382
This commit is contained in:
parent
757aa983dd
commit
af18d07ed6
|
@ -293,6 +293,7 @@ namespace llvm {
|
|||
/// if non-zero. This must be a power of 2 on some targets.
|
||||
virtual void EmitTBSSSymbol(const MCSection *Section, MCSymbol *Symbol,
|
||||
uint64_t Size, unsigned ByteAlignment = 0) = 0;
|
||||
|
||||
/// @}
|
||||
/// @name Generating Data
|
||||
/// @{
|
||||
|
@ -456,6 +457,13 @@ namespace llvm {
|
|||
virtual void EmitCFIRelOffset(int64_t Register, int64_t Offset);
|
||||
virtual void EmitCFIAdjustCfaOffset(int64_t Adjustment);
|
||||
|
||||
virtual void EmitWin64EHFrame(MCSymbol *Symbol, MCSymbol *EHandler = 0);
|
||||
virtual void EmitWin64EHPushReg(int64_t Register);
|
||||
virtual void EmitWin64EHSetFrame(int64_t Register, int64_t Offset);
|
||||
virtual void EmitWin64EHAllocStack(int64_t Size);
|
||||
virtual void EmitWin64EHSaveReg(int64_t Register, int64_t Offset);
|
||||
virtual void EmitWin64EHPushFrame(bool Code);
|
||||
|
||||
/// EmitInstruction - Emit the given @p Instruction into the current
|
||||
/// section.
|
||||
virtual void EmitInstruction(const MCInst &Inst) = 0;
|
||||
|
|
|
@ -310,6 +310,42 @@ void MCStreamer::EmitCFISameValue(int64_t Register) {
|
|||
CurFrame->Instructions.push_back(Instruction);
|
||||
}
|
||||
|
||||
void MCStreamer::EmitWin64EHFrame(MCSymbol *Symbol, MCSymbol *EHandler = 0)
|
||||
{
|
||||
errs() << "Not implemented yet\n";
|
||||
abort();
|
||||
}
|
||||
|
||||
void MCStreamer::EmitWin64EHPushReg(int64_t Register)
|
||||
{
|
||||
errs() << "Not implemented yet\n";
|
||||
abort();
|
||||
}
|
||||
|
||||
void MCStreamer::EmitWin64EHSetFrame(int64_t Register, int64_t Offset)
|
||||
{
|
||||
errs() << "Not implemented yet\n";
|
||||
abort();
|
||||
}
|
||||
|
||||
void MCStreamer::EmitWin64EHAllocStack(int64_t Size)
|
||||
{
|
||||
errs() << "Not implemented yet\n";
|
||||
abort();
|
||||
}
|
||||
|
||||
void MCStreamer::EmitWin64EHSaveReg(int64_t Register, int64_t Offset)
|
||||
{
|
||||
errs() << "Not implemented yet\n";
|
||||
abort();
|
||||
}
|
||||
|
||||
void MCStreamer::EmitWin64EHPushFrame(bool Code)
|
||||
{
|
||||
errs() << "Not implemented yet\n";
|
||||
abort();
|
||||
}
|
||||
|
||||
void MCStreamer::EmitFnStart() {
|
||||
errs() << "Not implemented yet\n";
|
||||
abort();
|
||||
|
|
Loading…
Reference in New Issue