<div dir="rtl"><div dir="ltr">Using SEH as the default on x86_64 makes sense, it is 10x more popular than SJLJ with mingw-w64</div><div dir="ltr"><br></div><div dir="ltr"><a href="https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.9.2/threads-win32/">https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.9.2/threads-win32/</a><br></div><div dir="ltr"><br></div><div dir="ltr">Thanks!</div></div><div class="gmail_extra"><div dir="ltr"><br><div class="gmail_quote">2014-11-14 4:07 GMT+02:00 Reid Kleckner <span dir="ltr"><<a href="mailto:rnk@google.com" target="_blank">rnk@google.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 .8ex;border-left:1px #ccc solid;border-right:1px #ccc solid;padding-left:1ex;padding-right:1ex">I finally went ahead and removed -fseh-exceptions and made that behavior the default on x86_64-*-windows-* in r221963. Eventually I intend to change the EH personality functions for *-*-windows-msvc, but that shouldn't affect mingw64. OK with you?<span class=""><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 17, 2014 at 9:05 PM, Yaron Keren <span dir="ltr"><<a href="mailto:yaron.keren@gmail.com" target="_blank">yaron.keren@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="rtl"><div dir="ltr">I have not seen any MinGW distribution using DWARF exceptions on x64. They all use SEH or SJLJ.</div><div dir="ltr">SEH should be the default unless <span style="font-family:arial,sans-serif;font-size:12.7272720336914px"> </span><span style="font-family:arial,sans-serif;font-size:12.7272720336914px">-fsjlj-exceptions.</span></div><span><font color="#888888"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:12.7272720336914px"><br></span></div><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:12.7272720336914px">Yaron</span><br></div><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:12.7272720336914px"><br></span></div></font></span></div><div><div><div class="gmail_extra"><div dir="ltr"><br><div class="gmail_quote">2014-09-18 4:08 GMT+03:00 Reid Kleckner <span dir="ltr"><<a href="mailto:rnk@google.com" target="_blank">rnk@google.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 .8ex;border-left:1px #ccc solid;border-right:1px #ccc solid;padding-left:1ex;padding-right:1ex">On further reflection, I think the nomenclature here is wrong. We need to try harder to disambiguate two concepts of SEH: the __try / __except constructs, and the Windows unwind and exception info format on x64, arm, and probably ppc. In LLVM MC, we currently use the terminology WinCFI and WinEH to refer to essentially the stuff in .pdata and .xdata respectively.<div><br></div><div>-fseh-exceptions and LangOpts.SEHExceptions are poorly named because the reader might assume that they enable an implementation of __try / __except, which is incorrect. Can you help me come up with a less confusing name? My strawmen are:</div><div>-fpdata-exceptions / PDataExceptions</div><div>-fxdata-exceptions / XDataExceptions</div><div>-fwin-eh-exceptions / WinEHExceptions</div><div>-fwin-cfi-exceptions / WinCFIExceptions<br></div><div><br></div><div>These names are meant to stand as alternative to -fsjlj-exceptions and dwarf cfi, the default.</div><div><br></div><div>Alternatively, is this option even useful? Would you be OK with completely removing this option in favor of only supporting .pdata exceptions and sjlj exceptions on mingw64 x64? I noticed that the mingwbuilds installer doesn't even present dwarf exceptions as an option anymore (did it ever?).</div></blockquote></div></div></div></div></div></blockquote></div></div></span></blockquote></div></div></div>