[LLVMdev] LLVM use of C++ exceptions and RTTI

Óscar Fuentes ofv at wanadoo.es
Thu Oct 14 14:30:41 PDT 2010


Francois Pichet <pichet2000 at gmail.com> writes:

> I am saying that if the makefile build system disables RTTI and
> exception handling the CMake build system should also disable them.
> 3 reasons:
> - To be consistent with the makefile build
> - It will generate a compile error if someone who is not aware of the
> rules try to use RTTI or exceptions.
> - Surely there will be a small code size gain after disabling RTTI.
> (let's me measure it)
>
> I am not a CMake expert (hello Oscar!), but if nobody fix it. I'll try
> to do it myself.

If you don't see a commit resolving this on the next 24 hours, go ahead.

(Implementing the feature is a few minutes. Testing requires more time.)

[snip]




More information about the llvm-dev mailing list