Submitted (with some slight modifications, s/libgcc_s/libgcc_eh/) as r212958. Tested with and without the LLVM unwinder, and things look good. Thanks again!<br><br><div>On Sun Jul 13 2014 at 2:00:40 AM, İsmail Dönmez <<a href="mailto:ismail@donmez.ws">ismail@donmez.ws</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>How about the attached patch?</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sat, Jul 12, 2014 at 11:59 PM, Dan Albert <span dir="ltr"><<a href="mailto:danalbert@google.com" target="_blank">danalbert@google.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Ah. Okay, that makes sense. Odd that I don't see it though.</p>
<p dir="ltr">-lpthread is fine to include unconditionally, but -lgcc_s should be linked based on LIBCXXABI_USE_LLVM_UNWINDER (if true, link libunwind, else link libgcc_s). libgcc is unfortunately far reaching, in that it has all of the compiler replacement functions <i>and</i> the unwinder, so that may not be quite correct. We may need to do -lunwind -lcompiler-rt in the case of LIBCXXABI_USE_LLVM_UNWINDER=ON, else -lgcc_s.</p>




</blockquote></div><br></div>
</blockquote>