[cfe-dev] recent change broke -fcatch-undefined-behavior

Richard Smith richard at metafoo.co.uk
Tue Oct 16 23:35:37 PDT 2012


On Tue, Oct 16, 2012 at 8:58 AM, Sean McBride <sean at rogue-research.com>wrote:

> On Mon, 15 Oct 2012 23:55:51 -0700, Richard Smith said:
>
> >> That's unfortunate that clang try to emit function calls on platforms
> that
> >> does not support it.
> >>
> >
> >Right now, we could just emit calls to @llvm.trap on unsupported
> platforms,
> >but some of the remaining checks actually need runtime library support. I
> >would prefer to get the runtime working on more platforms, rather than
> >working around its absence.
>
> Thanks to all for the explanations.
>
> I guess I'm playing with fire by using svn trunk, but for me, this is a
> big regression: -fcatch-undefined-behavior has gone from a imperfect but
> helpful tool to be totally broken.  I do hope it'll work again before 3.2?


Yes, I've been promised access to a Mac, and I'll get it working there, if
no-one else gets there first :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121016/a819987c/attachment.html>


More information about the cfe-dev mailing list