<div class="gmail_quote">2011/10/9 Anton Korobeynikov <span dir="ltr"><<a href="mailto:anton@korobeynikov.info">anton@korobeynikov.info</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello Ruben,<br>
<div class="im"><br>
> GCC produces the sjlj initialization code, where Clang does not. Is sjlj<br>
> exception handling not used with Clang or is this a genuine bug?<br>
><br>
> Will fixing this hinder future efforts of using/porting stdcxxrt and<br>
> libunwind for MinGW, or will "flipping a hardcoded switch" be enough to make<br>
> that transition?<br>
</div>clang/llvm does not support sjlj exceptions (with the exception of arm/darwin).<br>
So, please consider using dwarf-based eh (though it might be<br>
incomplete on windows).<br></blockquote><div><br>GCC doesn't have any Dwarf exception handling on 64-bit Windows, due to it being either extremely hard or impossible to get right. I would like to get Clang to produce working exception code for Windows. The "right way" is patented (SEH), so pretty of limits to anyone not from MS (or Borland, the patent holder). I'm not trying to wake up this discussion again. I just want to enable/implement/fix sjlj exception handling for Windows, in hopefully a MinGW GCC compatible way.<br>
<br>Thanks!<br><br>Ruben<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<font color="#888888"><br>
<br>
--<br>
With best regards, Anton Korobeynikov<br>
Faculty of Mathematics and Mechanics, Saint Petersburg State University<br>
</font></blockquote></div><br>