[PATCH] D11849: llvm-config: Add --has-rtti option

Jonathan Roelofs via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 27 13:22:33 PDT 2015


jroelofs added a subscriber: jroelofs.
jroelofs added a comment.

In http://reviews.llvm.org/D11849#224191, @tstellarAMD wrote:

> In http://reviews.llvm.org/D11849#224127, @beanz wrote:
>
> > Tom,
> >
> > What about -fno-exceptions? Does we need to handle that flag similarly? There is a thread on llvm-commits today that proposed an alternate solution that covers that case too.
>
>
> I don't think that compiling LLVM with -fno-exceptions requires library users to use the same, which would mean we don't need a flag for it.  However, we should find someone who knows C++ better than I to confirm or refute this.


Correct. -fno-exceptions code can link against -fexceptions code. You'll only see issues if you attempt to throw across the boundary (for example in a callback).


http://reviews.llvm.org/D11849





More information about the llvm-commits mailing list