Sandeep K Chaudhary
2014-Nov-11 19:16 UTC
[LLVMdev] Undefined symbol with the basic hello world pass
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>
Sandeep K Chaudhary
2014-Nov-11 20:14 UTC
[LLVMdev] Undefined symbol with the basic hello world pass
Can someone please provide some suggestions? I am stuck in my project because of this issue. Thanks and regards, Sandeep. On Tue, Nov 11, 2014 at 2:16 PM, Sandeep K Chaudhary < babbusandy2006 at gmail.com> wrote:> 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. >-- Thanks and regards, Sandeep K Chaudhary. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141111/853d4fbc/attachment.html>