[cfe-dev] Porting libcxxabi / Unwind to Windows / MingW 32 bit

David Chisnall David.Chisnall at cl.cam.ac.uk
Sat Nov 2 04:20:19 PDT 2013


On 2 Nov 2013, at 11:02, Yaron Keren <yaron.keren at gmail.com> wrote:

> In any case, instead of hacking around libgcc, completely replacing it with libcxxabi/Unwind + compiler-rt (thanks Jean!) seems to be the better alternative.

I don't think I got a reply last time I asked this:

Please can we move libcxxabi/Unwind into the compiler-rt umbrella?  The code there implements the language-agnostic part of the unwind library and so is useful for any language using the Itanium exception model.  Having it in libc++abi is likely to cause confusion when people try to mix libgcc_eh.so / libgcc_s and libc++abi, both of which will be trying to provide the same symbols and have their own mechanisms for registering exceptions.

We'd very much like to replace the libgcc family in FreeBSD 11 (and have the replacement as an option some time in the 10.x timeframe) and having all of the required code in a single place would make our life easier.  The compiler-rt project seems the obvious place for it.

David





More information about the cfe-dev mailing list