[LLVMdev] typeinfo for llvm::MCAsmInfo is missing
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
> 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
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 Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev