[cfe-dev] Trying out SjLj exception handling on Win32
Ruben Van Boxem
vanboxem.ruben at gmail.com
Thu Nov 24 08:24:26 PST 2011
I've raised the point before, and I know it's not the "right" way for
exceptions on Windows, but 32-bit Windows really has no alternative
(Win64 is different).
I set (unconditionally, only for testing)
ExceptionsType = ExceptionHandling::SjLj;
in X86MCAsmInfoCOFF. This leads to an error message when compiling with clang++:
fatal error: error in backend: Cannot select: intrinsic %llvm.eh.sjlj.lsda
Which is telling me I missed something. I can't find the origin of the
error, or where I should look to make it go away.
Any help is appreciated.
Ruben
More information about the cfe-dev
mailing list