[LLVMdev] Undefined symbol with the basic hello world pass

Sandeep K Chaudhary babbusandy2006 at gmail.com
Tue Nov 11 11:16:16 PST 2014


Hi guys,

I had a pass written which was working fine earlier. I just tried to reuse
the pass, and now I see the following problem.

sandeep at ubuntu:~/llvm-3.2.src/lib/Transforms/Hello$ opt -load
../../../Release+Asserts/lib/Hello.so -help | grep hello
Error opening '../../../Release+Asserts/lib/Hello.so':
../../../Release+Asserts/lib/Hello.so: undefined symbol:
_ZN4llvm12FunctionPass16doInitializationERNS_6ModuleE
  -load request ignored.

To see if there is any problem with my pass, I replaced it with the simple
hello world pass from the
below LLVM tutorial but I still got the same issue.

http://llvm.org/releases/3.0/docs/WritingAnLLVMPass.html#quickstart

Can someone please help me with it? I can't figure out the issue here.

Thanks and regards,
Sandeep.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141111/953c6d55/attachment.html>


More information about the llvm-dev mailing list