[LLVMdev] LLVM Module Pass problem!

Saman Zonouz samy_442 at yahoo.com
Thu Jul 23 04:40:43 PDT 2009


Dear All,

I am new to LLVM and try to write a Module pass. In the same .cpp file I am defining a class.
The problem is that whenever I instantiate an object from the class I get the following error while running the pass:

opt: symbol lookup error: ../llvm/Debug/lib/MyPass.so: undefined symbol: _ZN10Thread_MyPassC1Ev

The pass is compiled correctly but does not run.  Could you someone please let me know what is wrong?

Thanks in advance,
::Saman


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090723/378881c8/attachment.html>


More information about the llvm-dev mailing list