[cfe-dev] [RFC][libcxx] Fix and maintain the no-exceptions build of libcxx

Marshall Clow via cfe-dev cfe-dev at lists.llvm.org
Tue Nov 3 17:55:47 PST 2015


On Mon, Nov 2, 2015 at 8:36 AM, Asiri Rathnayake <asiri.rathnayake at arm.com>
wrote:

> > I find it amusing that you think that there's a "correct behavior" when
> the standard specifies
> > that an operation should throw an exception and you have disabled
> exceptions.
>
> You got me there!
>
> I think it's OK to be consistent across all the places and call abort(),
> this is what I've been doing
> in my current patch. I will double check this behavior with other
> compilers that provide similar
> functionality.
>
>
I also want to point out that if you really want no exceptions, you're
going to have to produce (and link to) a custom dylib; since the stuff in
the dylib *will* throw.

-- Marshall
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20151103/588d9e41/attachment.html>


More information about the cfe-dev mailing list