[LLVMdev] typeinfo for llvm::MCAsmInfo is missing

Óscar Fuentes ofv at wanadoo.es
Mon Dec 10 17:51:22 PST 2012

Gordon Keiser <gkeiser at arxan.com> writes:

> There is (was?) a CMake variable for this if you're going that route.
> Setting LLVM_REQUIRES_RTTI=1 enabled an RTTI build that I haven't had
> issues with. I don't know what the ./configure equivalent is, sorry.

LLVM_REQUIRES_RTTI is an internal variable. It works as you say, but
there is no guarantee about it.

Adding a proper option for enabling RTTI on the CMake build is trivial,
and IMO it is useful too.

More information about the llvm-dev mailing list