[LLVMdev] Error in registration of Pass
    Nick Lewycky 
    nicholas at mxc.ca
       
    Thu Oct 30 19:43:27 PDT 2008
    
    
  
Nipun Arora wrote:
> I get the following error when I try and load a certain pass I have 
> made.  Can anyone help me out? What could be the problem? And how can I 
> remove it?
Hi Nipun. We actually just had this discussion on the mailing list. 
Please see this thread:
   http://lists.cs.uiuc.edu/pipermail/llvmdev/2008-October/017994.html
It dealt with a specific case (trying to use the ExecutionEngine from an 
optimization pass), but the mechanism, debugging and advise should all 
apply for you too.
Nick Lewycky
> 
>  
> 
> opt: Pass.cpp:147: 
> void<unnamed>::PassRegistrar::RegisterPass(llvm::PassInfo&): Assertion 
> `Inserted && "Pass registered multiple times!"' failed.
> 
> Aborted (core dumped)
> 
>  
> 
> Thanks
> 
> Nipun
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
    
    
More information about the llvm-dev
mailing list