[LLVMdev] Disabling rtti on default build - could it be reverted/re-enabled?

Russell Wallace russell.wallace at gmail.com
Fri Feb 19 06:37:06 PST 2010


2010/2/19 Pekka Jääskeläinen <pekka.jaaskelainen at tut.fi>:
> Releases are a different story. That is, what should the distributed
> tar balls configure with by default. IMHO end users should get RTTI
> enabled by default as it is less likely to break stuff for them later.

I agree, release code should be optimized for reliability even if that
has a small efficiency cost. IIRC, RTTI just uses the vtable pointer
that exists anyway, I wouldn't have thought it would have a speed
penalty?




More information about the llvm-dev mailing list