<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div>Maybe we should disable vprt in the driver when targeting darwin, or emit an error (like it does when trying to use vptr without RTTI enabled).<div><br><div><div>Le 16 nov. 2012 à 13:42, Alexey Samsonov <<a href="mailto:samsonov@google.com">samsonov@google.com</a>> a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt">On Thu, Nov 15, 2012 at 10:33 PM, Jean-Daniel Dupas <span dir="ltr"><<a href="mailto:devlists@shadowlab.org" target="_blank">devlists@shadowlab.org</a>></span> wrote:<br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If you want to test with trunk, you have to apply the 2 attached patched.<br>
<br>
- clang-ubsan add support to the make toolchain and the driver (Note to Richard: I removed the inclusion of CoreFoundation framework from you previous patch as I think only asan need it and not ubsan).<br>
- librt-ubsan fixes a couple of build issue in compiler-rt.<br></blockquote><div><br></div><div>Hi Jean-Daniel,</div><div><br></div><div>I also get undefined symbol errors for symbols:</div><div><div>                 U __ZTIN10__cxxabiv117__class_type_infoE</div>
<div>                 U __ZTIN10__cxxabiv120__si_class_type_infoE</div><div>                 U __ZTIN10__cxxabiv121__vmi_class_type_infoE</div></div><div>but this only happens in a single test: TypeCheck/vptr.cpp</div><div>
<br></div><div>other tests (with minor fixes) work for me, and ubsan compiles on Mac fine.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Le 15 nov. 2012 à 18:37, Jonathan Sauer <<a href="mailto:jonathan.sauer@gmx.de">jonathan.sauer@gmx.de</a>> a écrit :<br>
<div class="HOEnZb"><div class="h5"><br>
> Hello,<br>
><br>
>>> Thanks for the prod, I've checked in some pending patches to add OS X<br>
>>> support, in r167888, r167889, and r167890. If you could build<br>
>>> clang_rt.ubsan_osx and let me know whether everything is working as<br>
>>> intended, that'd be great; we can then ask to get those patches pulled<br>
>>> onto the 3.2 branch.<br>
>><br>
>> I've rebuilt clang r167897 and still get link errors, ex:<br>
>><br>
>> Undefined symbols for architecture x86_64:<br>
>> "___ubsan_handle_shift_out_of_bounds", referenced from:<br>
><br>
> I found that currently (i.e. as of last Monday) "make install" doesn't seem to copy<br>
> the ubsan runtime libraries into clang's runtime library directory as it does for<br>
> asan. Maybe that's the problem.<br>
><br>
><br>
> HTH,<br>
> Jonathan<br>
><br>
><br>
> _______________________________________________<br>
> cfe-dev mailing list<br>
> <a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">-- Jean-Daniel<br>
<br>
<br>
<br>
</font></span><br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Alexey Samsonov, MSK</div><br>
</div>
</blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div>-- Jean-Daniel</div><div><br></div><div><br></div></span><br class="Apple-interchange-newline">

</div>
<br></div></body></html>