Add support for GCC compatible builtin setjmp and longjmp intrinsics. This is

a supporting preliminary patch for GCC-compatible SjLJ exception handling. Note that these intrinsics are not designed to be invoked directly by the user, but
rather used by the front-end as target hooks for exception handling.

llvm-svn: 71610
This commit is contained in:
Jim Grosbach
2009-05-12 23:59:14 +00:00
parent 85cca64dd7
commit aeca45dd6f
9 changed files with 77 additions and 5 deletions

View File

@@ -121,6 +121,7 @@ MachineFunction::MachineFunction(const Function *F,
MachineRegisterInfo(*TM.getRegisterInfo());
else
RegInfo = 0;
HasBuiltinSetjmp = false;
MFInfo = 0;
FrameInfo = new (Allocator.Allocate<MachineFrameInfo>())
MachineFrameInfo(*TM.getFrameInfo());