[LLVMdev] Why does `llvm-config --cxxflags` now include -fno-rtti ?

Pekka Jääskeläinen pekka.jaaskelainen at tut.fi
Sun Mar 14 12:46:15 PDT 2010


On 03/14/2010 12:10 PM, Matthieu Moy wrote:
> I'm trying to port a piece of code using LLVM as a library to the
> latest SVN version.

Here's the recent discussion on this:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2010-February/029495.html

Summary: no-rtti speeds up LLVM compile time thus developers do not
want RTTI on by default, plus it makes the binaries a bit smaller.
Distro packagers are asked to enable it by default to allow using
LLVM better as a library.

-- 
Pekka Jääskeläinen



More information about the llvm-dev mailing list