<div dir="rtl"><div dir="ltr">Hi David,</div><div dir="ltr"><br></div><div dir="ltr">It's a good idea to have compiler-rt + unwind project in one project as a libgcc replacement. We can name the project "libclang".</div>

<div dir="ltr"><br></div><div dir="ltr">While at it, the rest of libcxxabi (the _cxa functions) may be merged into libcxx as a complete replacement for libstdc++.</div><div dir="ltr"><br></div><div dir="ltr">This project structure matches the gcc library organization and thus will be easier for people (and toolchains) to use them.</div>

<div dir="ltr"><br></div><div dir="ltr">Yaron</div><div dir="ltr"><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div dir="ltr">2013/11/2 David Chisnall <span dir="ltr"><<a href="mailto:David.Chisnall@cl.cam.ac.uk" target="_blank">David.Chisnall@cl.cam.ac.uk</a>></span></div>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 2 Nov 2013, at 11:02, Yaron Keren <<a href="mailto:yaron.keren@gmail.com">yaron.keren@gmail.com</a>> wrote:<br>


<br>
> In any case, instead of hacking around libgcc, completely replacing it with libcxxabi/Unwind + compiler-rt (thanks Jean!) seems to be the better alternative.<br>
<br>
</div>I don't think I got a reply last time I asked this:<br>
<br>
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.<br>


<br>
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.<br>


<span class="HOEnZb"><font color="#888888"><br>
David<br>
<br>
</font></span></blockquote></div><br></div>