[llvm-commits] [llvm] r131772 - /llvm/trunk/lib/MC/MCStreamer.cpp
Charles Davis
cdavis at mines.edu
Fri May 20 17:09:04 PDT 2011
Author: cdavis
Date: Fri May 20 19:09:04 2011
New Revision: 131772
URL: http://llvm.org/viewvc/llvm-project?rev=131772&view=rev
Log:
Set the "LastFrameInst" field when streaming a .seh_setframe directive. This
is needed for an upcoming patch.
Modified:
llvm/trunk/lib/MC/MCStreamer.cpp
Modified: llvm/trunk/lib/MC/MCStreamer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCStreamer.cpp?rev=131772&r1=131771&r2=131772&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCStreamer.cpp (original)
+++ llvm/trunk/lib/MC/MCStreamer.cpp Fri May 20 19:09:04 2011
@@ -383,6 +383,7 @@
EnsureValidW64UnwindInfo();
MCWin64EHUnwindInfo *CurFrame = CurrentW64UnwindInfo;
MCWin64EHInstruction Inst(Win64EH::UOP_SetFPReg, Register, Offset);
+ CurFrame->LastFrameInst = CurFrame->Instructions.size();
CurFrame->Instructions.push_back(Inst);
}
More information about the llvm-commits
mailing list