[LLVMdev] LLVM Module Pass problem!
samy_442 at yahoo.com
Thu Jul 23 04:40:43 PDT 2009
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,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev