mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-01 17:28:21 +00:00
Set the "LastFrameInst" field when streaming a .seh_setframe directive. This
is needed for an upcoming patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131772 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
345968c82d
commit
5c2256a571
@ -383,6 +383,7 @@ void MCStreamer::EmitWin64EHSetFrame(unsigned Register, unsigned Offset) {
|
||||
EnsureValidW64UnwindInfo();
|
||||
MCWin64EHUnwindInfo *CurFrame = CurrentW64UnwindInfo;
|
||||
MCWin64EHInstruction Inst(Win64EH::UOP_SetFPReg, Register, Offset);
|
||||
CurFrame->LastFrameInst = CurFrame->Instructions.size();
|
||||
CurFrame->Instructions.push_back(Inst);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user