llvm-project/llvm/test/CodeGen/WinEH
David Majnemer e60ee3b8ce [WinEH] Make setjmp work correctly with EH
32-bit X86 EH on Windows utilizes a stack of registration nodes
allocated and deallocated on entry/exit.  A registration node contains a
bunch of EH personality specific information like which try-state we are
currently in.

Because a setjmp target allows control flow from arbitrary program
points, there is no way to ensure that the try-state we are in is
correctly updated once we transfer control.

MSVC compatible compilers, like MSVC and ICC, utilize runtime helpers to
reinitialize the try-state when a longjmp occurs.  This is implemented
by adding additional arguments to _setjmp3: the desired try-state and
a helper routine to update the try-state.

Differential Revision: http://reviews.llvm.org/D17721

llvm-svn: 262241
2016-02-29 19:16:03 +00:00
..
lit.local.cfg
wineh-asm.ll [WinEH] Don't remove unannotated inline-asm calls 2016-02-26 00:04:25 +00:00
wineh-cloning.ll Revert r258580 and r258581. 2016-02-01 03:29:38 +00:00
wineh-demotion.ll Revert r258580 and r258581. 2016-02-01 03:29:38 +00:00
wineh-intrinsics-invalid.ll [WinEH] Add llvm.eh.exceptionpointer intrinsic 2015-09-03 09:15:32 +00:00
wineh-intrinsics.ll [IR] Reformulate LLVM's EH funclet IR 2015-12-12 05:38:55 +00:00
wineh-nested-unwind.ll [WinEH] Visit 'unwind to caller' catchswitches nested in catchswitches 2016-02-23 07:18:15 +00:00
wineh-no-demotion.ll Revert r258580 and r258581. 2016-02-01 03:29:38 +00:00
wineh-noret-cleanup.ll [WinEH] Prevent EH state numbering from skipping nested cleanup pads that never return 2016-02-12 21:10:16 +00:00
wineh-setjmp.ll [WinEH] Make setjmp work correctly with EH 2016-02-29 19:16:03 +00:00
wineh-statenumbering-cleanups.ll [WinEH] Don't perform state stores in cleanups 2016-01-29 05:33:15 +00:00
wineh-statenumbering.ll [WinEH] Optimize WinEH state stores 2016-02-17 18:37:11 +00:00