[llvm-commits] [Patch] disable HAVE_EHTABLE_SUPPORT for GCC 4.8 on Win64

Ruben Van Boxem vanboxem.ruben at gmail.com
Sun Oct 7 05:55:47 PDT 2012


2012/9/27 Anton Korobeynikov <anton at korobeynikov.info>

> > GCC 4.8 on Windows 64-bit will use Win64's native SEH functionality for
> C++
> > exceptions. This means a new libgcc, and the seh version does not have
> > __[de]register_frame.
> Random thought: why do we need hardcoding in this place? Why can't
> there be configure / cmake check for single function (pretty trivial
> thing!) which will detect the presence of the function inside libgcc
> automagically?
>

This would be better of course, although I can't seem to find where I
should add this check in the CMakeLists.txt files nor the configure file.

It would great if this could go into 3.2 still, futureproofing LLVM for
when GCC 4.8 hits the general public.

Ruben


>
> --
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State University
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121007/f0683e12/attachment.html>


More information about the llvm-commits mailing list