[LLVMdev] trouble using hello transformation

Chris Lattner sabre at nondot.org
Fri Sep 13 09:20:01 PDT 2002


> 	I must be doing something dumb, but I'm having trouble running the
> example hello transformation.  It is printing "pure virtual method
> called."  All I am doing is checking out a new llvm, compiling it with
> gmake -k, compiling Hello with gmake, and running:
> opt -load ../../../lib/Debug/libhello.so -hello < hello.bc > /dev/null
> where hello.bc is the hello world program.
>
> 	From gdb, it seems to be breaking in VMCore/PassManagerT.h:217
> where it invokes runPass(P, M).  Any help whatsoever would be much
> appreciated.  Thank you in advance.

I'm really not sure what could be causing this.  Are other people seeing
the same problem?  What compiler version are you using (g++ -v)?

-Chris

http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/




More information about the llvm-dev mailing list