[LLVMdev] typeinfo for llvm::MCAsmInfo is missing

Gordon Keiser gkeiser at arxan.com
Mon Dec 10 17:27:59 PST 2012


> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
> On Behalf Of Óscar Fuentes
> 
> Vladimir Pouzanov <farcaller at gmail.com> writes:
> 
> > On Dec 10, 2012, at 21:57, Jim Grosbach <grosbach at apple.com> wrote:
> >> Llvm typically doesn't build with RTTI enabled. Perhaps that's what
> >> you're running into?
> >>
> > I've actually tried to compile both LLVM and my lib with -frtti with
> > same results.
> 
> Please show the exact commands you used for building LLVM with RTTI
> support.
> 
> It would also help if you repeat your recipe for building LLVM but appending
> to your `make' command the text "VERBOSE=1" and then show the compiler
> command line for one .cpp file (lib/MC/MCAsmInfo.cpp is the best
> candidate.)
> 

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. 

-Gordon

> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list