[LLVMdev] Error in registration of Pass

Devang Patel dpatel at apple.com
Thu Oct 30 13:05:41 PDT 2008


Nipun,

In your pass you've static RegisterPass<PASSNAME>XYZ("...", "...");
It seems this is repeated or the name XYZ is reused.

On Oct 30, 2008, at 8:46 AM, Nipun Arora wrote:

> Hi ,
>
> 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?
>
> 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

-
Devang






More information about the llvm-dev mailing list