[LLVMdev] CallGraphSCCPass: symbol not found
    Trevor Harmon 
    Trevor.W.Harmon at nasa.gov
       
    Mon Jul 12 13:56:21 PDT 2010
    
    
  
Hi,
I've written a CallGraphSCCPass that compiles successfully, but when I  
try to run it with opt, it fails:
   Symbol not found: __ZTIN4llvm16CallGraphSCCPassE
If I simply change the pass to be a FunctionPass or a ModulePass, opt  
can run it just fine.
I'm on Mac OS X, so I thought perhaps I was running into bug #2771  
[1], but I'm getting the same error on Ubuntu Linux:
   undefined symbol: _ZTIN4llvm16CallGraphSCCPassE
As before, the Linux environment has no problems running a  
FunctionPass or ModulePass. It's only CallGraphSCCPass that gives me  
trouble.
This is with a plain-vanilla install of the LLVM 2.7 release.
Is there something special about LLVM's handling of CallGraphSCCPass  
that would explain this error? Thanks,
Trevor
[1] http://llvm.org/bugs/show_bug.cgi?id=2771
    
    
More information about the llvm-dev
mailing list