[cfe-dev] recent change broke -fcatch-undefined-behavior
samsonov at google.com
Fri Nov 16 05:01:53 PST 2012
On Thu, Nov 15, 2012 at 10:33 PM, Jean-Daniel Dupas
<devlists at shadowlab.org>wrote:
> If you want to test with trunk, you have to apply the 2 attached patched.
> - 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).
> - librt-ubsan fixes a couple of build issue in compiler-rt.
landed these patches in r168167,r168168
> Le 15 nov. 2012 à 18:37, Jonathan Sauer <jonathan.sauer at gmx.de> a écrit :
> > Hello,
> >>> Thanks for the prod, I've checked in some pending patches to add OS X
> >>> support, in r167888, r167889, and r167890. If you could build
> >>> clang_rt.ubsan_osx and let me know whether everything is working as
> >>> intended, that'd be great; we can then ask to get those patches pulled
> >>> onto the 3.2 branch.
> >> I've rebuilt clang r167897 and still get link errors, ex:
> >> Undefined symbols for architecture x86_64:
> >> "___ubsan_handle_shift_out_of_bounds", referenced from:
> > I found that currently (i.e. as of last Monday) "make install" doesn't
> seem to copy
> > the ubsan runtime libraries into clang's runtime library directory as it
> does for
> > asan. Maybe that's the problem.
> > HTH,
> > Jonathan
> > _______________________________________________
> > cfe-dev mailing list
> > cfe-dev at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
> -- Jean-Daniel
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
Alexey Samsonov, MSK
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev