[LLVMdev] about pass registration

John Criswell criswell at illinois.edu
Sun Apr 21 09:33:01 PDT 2013


On 4/20/13 1:32 PM, atul gurale wrote:
> hello sir
>
> i have created LoopPass but now i am facing problem in Registering 
> that pass.
>
> I read all the documents & followed the procedure but its giving error.
>
> Can you tell me what is the right way to register a pass.
>
> I am getting errors like
>
> char::ID=0 "ID" is not in the scope
>
> {anonymous::PrintLoopPass something like}

It's hard to tell without seeing the code, but it looks like the 
definition of your ID variable isn't in the correct namespace.

-- John T.

>
> please help me
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130421/63c6b429/attachment.html>


More information about the llvm-dev mailing list