llvm-6502/test/CodeGen/WinEH
Reid Kleckner df4fd4fc4e [WinEH] Make llvm.eh.actions use frameescape indices for catch params
This makes it possible to use the same representation of llvm.eh.actions
in outlined handlers as we use in the parent function because i32's are
just constants that can be copied freely between functions.

I had to add a sentinel alloca to the list of child allocas so that we
don't try to sink the catch object into the handler. Normally, one would
use nullptr for this kind of thing, but TinyPtrVector doesn't support
null elements. More than that, it's elements have to have a suitable
alignment. Therefore, I settled on this for my sentinel:

  AllocaInst *getCatchObjectSentinel() {
    return static_cast<AllocaInst *>(nullptr) + 1;
  }

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233947 91177308-0d34-0410-b5e6-96231b3b80d8
2015-04-02 21:13:31 +00:00
..
cppeh-catch-all.ll [WinEH] Make llvm.eh.actions use frameescape indices for catch params 2015-04-02 21:13:31 +00:00
cppeh-catch-scalar.ll [WinEH] Make llvm.eh.actions use frameescape indices for catch params 2015-04-02 21:13:31 +00:00
cppeh-catch-unwind.ll [WinEH] Make llvm.eh.actions use frameescape indices for catch params 2015-04-02 21:13:31 +00:00
cppeh-frame-vars.ll [WinEH] Make llvm.eh.actions use frameescape indices for catch params 2015-04-02 21:13:31 +00:00
cppeh-inalloca.ll [WinEH] Make llvm.eh.actions use frameescape indices for catch params 2015-04-02 21:13:31 +00:00
cppeh-min-unwind.ll [WinEH] Run cleanup handlers when an exception is thrown 2015-03-30 22:58:10 +00:00
cppeh-multi-catch.ll [WinEH] Make llvm.eh.actions use frameescape indices for catch params 2015-04-02 21:13:31 +00:00
cppeh-nested-1.ll [WinEH] Run cleanup handlers when an exception is thrown 2015-03-30 22:58:10 +00:00
cppeh-nested-2.ll [WinEH] Make llvm.eh.actions use frameescape indices for catch params 2015-04-02 21:13:31 +00:00
cppeh-nested-3.ll [WinEH] Run cleanup handlers when an exception is thrown 2015-03-30 22:58:10 +00:00
cppeh-nonalloca-frame-values.ll [WinEH] Make llvm.eh.actions use frameescape indices for catch params 2015-04-02 21:13:31 +00:00
cppeh-prepared-catch.ll [WinEH] Generate .xdata for catch handlers 2015-03-31 22:35:44 +00:00
cppeh-prepared-cleanups.ll [WinEH] Generate .xdata for catch handlers 2015-03-31 22:35:44 +00:00
lit.local.cfg
seh-simple.ll [WinEH] Make llvm.eh.actions use frameescape indices for catch params 2015-04-02 21:13:31 +00:00