mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-07 11:33:44 +00:00
Add stub methods to MCStreamer for emitting Win64 exception-handling
information. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131382 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
090a929aea
commit
ff96a12db6
@ -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
Block a user