llvm-project/llvm/test/CodeGen/WinEH
Joseph Tremoulet 149c433bcc [WinEH] Find root frame correctly in CLR funclets
Summary:
The value that the CoreCLR personality passes to a funclet for the
establisher frame may be the root function's frame or may be the parent
funclet's (mostly empty) frame in the case of nested funclets.  Each
funclet stores a pointer to the root frame in its own (mostly empty)
frame, as does the root function itself.  All frames allocate this slot at
the same offset, measured from the post-prolog stack pointer, so that the
same sequence can accept any ancestor as an establisher frame parameter
value, and so that a single offset can be reported to the GC, which also
looks at this slot.

This change allocate the slot when processing function entry, and records
its frame index on the WinEHFuncInfo object, then inserts the code to
set/copy it during prolog emission.


Reviewers: majnemer, AndyAyers, pgavlin, rnk

Subscribers: llvm-commits

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

llvm-svn: 252983
2015-11-13 00:39:23 +00:00
..
lit.local.cfg
wineh-cloning.ll [WinEH] Re-committing r252249 (Clone funclets with multiple parents) with additional fixes for determinism problems 2015-11-09 19:59:02 +00:00
wineh-coreclr.ll [WinEH] Find root frame correctly in CLR funclets 2015-11-13 00:39:23 +00:00
wineh-demotion.ll [WinEH] Re-committing r252249 (Clone funclets with multiple parents) with additional fixes for determinism problems 2015-11-09 19:59:02 +00:00
wineh-exceptionpointer.ll [WinEH] Update exception pointer registers 2015-11-07 01:11:31 +00:00
wineh-intrinsics-invalid.ll [WinEH] Add llvm.eh.exceptionpointer intrinsic 2015-09-03 09:15:32 +00:00
wineh-intrinsics.ll [WinEH] Add llvm.eh.exceptionpointer intrinsic 2015-09-03 09:15:32 +00:00
wineh-multi-parent-cloning.ll [WinEH] Re-committing r252249 (Clone funclets with multiple parents) with additional fixes for determinism problems 2015-11-09 19:59:02 +00:00
wineh-no-demotion.ll [WinEH] Re-committing r252249 (Clone funclets with multiple parents) with additional fixes for determinism problems 2015-11-09 19:59:02 +00:00
wineh-statenumbering-cleanups.ll [WinEH] Fix cleanup state numbering 2015-10-09 00:46:08 +00:00
wineh-statenumbering.ll [WinEH] Pull Adjectives and CatchObj out of the catchpad arg list 2015-09-16 20:16:27 +00:00