[cfe-dev] clang-cl equivalent option for VC++'s /EH(x)
Reid Kleckner
rnk at google.com
Wed Nov 20 10:15:40 PST 2013
clang-cl currently does not expose this option because LLVM doesn't support
VC++-compatible 32-bit exception handling today. However, I believe it
*does* support win64 exceptions, but I haven't tested it personally.
LLVM will probably never support the full asynchronous exception model of
MSVC because it won't ever model control flow from each load, store, or div
that might trap to associated cleanup code.
I would support wiring up /EH(x) to support C++ exceptions on win64, and
warning that we're ignoring it on 32-bit Windows like we do today. We
should probably warn on the 'a' modifier, since we won't implement it.
On Tue, Nov 19, 2013 at 9:53 PM, Edward Diener <
eldlistmailingz at tropicsoft.com> wrote:
> Does clang-cl have any equivalent option for VC++'s /EH(x) series of
> choices for exception handling and asynchronous exception handling when
> compiling under Windows using the VC++ RTL, since it does not support the
> /EH(x) compiler flags ?
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131120/db02f569/attachment.html>
More information about the cfe-dev
mailing list