[LLVMdev] Compiling via bitcode on Windows

Russell Wallace russell.wallace at gmail.com
Mon Feb 2 11:32:25 PST 2015


On Mon, Feb 2, 2015 at 5:59 PM, Reid Kleckner <rnk at google.com> wrote:

> The references to _Unwind_Resume and __gxx_personality_v0 are surprising,
> but the rest make sense to me. If you don't need any EH, just pass
> -fno-exceptions to fix the issue. For more info, read on. :)
>

That fixed it, thanks!


> clang-cl currently turns on -fexceptions and not -fcxx-exceptions, while
> clang will enable both by default. Long term, to implement the semantics of
> MSVC's /EHs, we want to disable C++ dtor cleanups while leaving SEH (__try
> / __except) enabled.
>

And in the even longer term, implement the /EHsc option?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150202/69da415b/attachment.html>


More information about the llvm-dev mailing list