[LLVMdev] Porting pass from llvm 3.1 to 3.4
Markus Trippelsdorf
markus at trippelsdorf.de
Wed Jul 2 23:22:17 PDT 2014
On 2014.07.02 at 13:02 -0700, Reid Kleckner wrote:
> Most likely LLVM is built with RTTI disabled, which LLVM does by the
> default, and your code is built with RTTI enabled. Make sure the RTTI
> settings match. The easiest fix for you is probably to add -fno-rtti to
> CFLAGS.
BTW on Linux "llvm-config --cxxflags" doesn't contain -fno-rtti, even if
LLVM is build with RTTI disabled.
Here's a patch I've found that fixes the issue:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20131014/191264.html
--
Markus
More information about the llvm-dev
mailing list