[LLVMdev] Problem in Adding a pass to LLVM

ambika ambika at cse.iitb.ac.in
Wed Feb 3 10:45:44 PST 2010


Well I have given empty bodies for all virtual functions but still I get 
the same error.
I referred to http://llvm.org/docs/AliasAnalysis.html#writingnew and 
followed the steps but still cannot build llvm.

regards,
Ambika


Andreas Neustifter wrote:
> Hi!
>
> On 02.02.2010, at 20:16, ambika wrote:
>
>> /home/ambika/llvm1/llvm-obj/Release/lib/libLLVMipa.a(ProfileAlias.o): In
>> function `llvm::createProfileAliasPass()':
>> ProfileAlias.cpp:(.text+0x46): undefined reference to `vtable for
>> ProfileAlias'
>
> http://gcc.gnu.org/faq.html#vtables
>
> Does that help?
>
> Andi




More information about the llvm-dev mailing list