[llvm-commits] [llvm] r79858 - /llvm/trunk/lib/CodeGen/SjLjEHPrepare.cpp
Duncan Sands
baldrick at free.fr
Mon Aug 24 12:02:02 PDT 2009
Hi Jim,
> If I pick an arbitrary personality function, there's no guarantee things
> will be compatible with how the context and LSDA are expected to be
> used.
the C personality function is compatible with the dwarf info we output.
I don't know about sj/lj. It is only knows about cleanups.
Realistically, when we get input code like this (still have
> invokes and landing pads, but no eh.selectors), I'm not sure it's valid
> code at all.
In the long term I would like to treat this situation as equivalent to a
cleanup.
It's definitely outside the scope of what the SjLj
> exception handling is designed to handle. Thus, I think the conservative
> answer is to punt rather than guess.
For the moment we can punt. That's what the dwarf stuff does too.
Ciao,
Duncan.
More information about the llvm-commits
mailing list