mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 06:09:05 +00:00
df4fd4fc4e
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 |
||
---|---|---|
.. | ||
cppeh-catch-all.ll | ||
cppeh-catch-scalar.ll | ||
cppeh-catch-unwind.ll | ||
cppeh-frame-vars.ll | ||
cppeh-inalloca.ll | ||
cppeh-min-unwind.ll | ||
cppeh-multi-catch.ll | ||
cppeh-nested-1.ll | ||
cppeh-nested-2.ll | ||
cppeh-nested-3.ll | ||
cppeh-nonalloca-frame-values.ll | ||
cppeh-prepared-catch.ll | ||
cppeh-prepared-cleanups.ll | ||
lit.local.cfg | ||
seh-simple.ll |