mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
Implement the EndProlog Win64 EH method on the base MCStreamer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131679 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3a2d255ce6
commit
61558aaf4f
@ -59,15 +59,15 @@ namespace llvm {
|
||||
|
||||
struct MCWin64EHUnwindInfo {
|
||||
MCWin64EHUnwindInfo() : Begin(0), End(0), ExceptionHandler(0),
|
||||
Function(0), UnwindOnly(false),
|
||||
PrologSize(0), LastFrameInst(-1), ChainedParent(0),
|
||||
Function(0), PrologEnd(0), UnwindOnly(false),
|
||||
LastFrameInst(-1), ChainedParent(0),
|
||||
Instructions() {}
|
||||
MCSymbol *Begin;
|
||||
MCSymbol *End;
|
||||
const MCSymbol *ExceptionHandler;
|
||||
const MCSymbol *Function;
|
||||
MCSymbol *PrologEnd;
|
||||
bool UnwindOnly;
|
||||
unsigned PrologSize;
|
||||
int LastFrameInst;
|
||||
MCWin64EHUnwindInfo *ChainedParent;
|
||||
std::vector<MCWin64EHInstruction> Instructions;
|
||||
|
@ -425,8 +425,10 @@ void MCStreamer::EmitWin64EHPushFrame(bool Code) {
|
||||
}
|
||||
|
||||
void MCStreamer::EmitWin64EHEndProlog() {
|
||||
errs() << "Not implemented yet\n";
|
||||
abort();
|
||||
EnsureValidW64UnwindInfo();
|
||||
MCWin64EHUnwindInfo *CurFrame = CurrentW64UnwindInfo;
|
||||
CurFrame->PrologEnd = getContext().CreateTempSymbol();
|
||||
EmitLabel(CurFrame->PrologEnd);
|
||||
}
|
||||
|
||||
void MCStreamer::EmitFnStart() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user