<div>
                    I think this could help you out: <a href="http://llvm.org/docs/WritingAnLLVMPass.html#writing-an-llvm-pass-basiccode">http://llvm.org/docs/WritingAnLLVMPass.html#writing-an-llvm-pass-basiccode</a>
                </div>
                <div><div><br></div><div>-- </div><div>Cristianno Martins</div></div>
                 
                <p style="color: #A0A0A8;">On Sunday, 21 de April de 2013 at 01:39, atul gurale wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><div dir="ltr"><div><div><div><div><div><div><div>hello sir <br><br></div>i have created LoopPass but now i am facing problem in Registering that pass.<br><br></div>I read all the documents & followed the procedure but its giving error.<br>

<br></div>Can you tell me what is the right way to register a pass.<br><br></div>I am getting errors like <br><br></div><div>char::ID=0 "ID" is not in the scope<br><br></div><div>{anonymous::PrintLoopPass something like}<br>

<br></div>please help me..<br><br></div>YES SIR IT IS A COMPILE TIME ERROR... <br><br>Please tell me the exact syntax/ template for registering a pass... <br><br>I am Using LOOPPASS.cpp which is directly available on llvm site...<br>
<br></div>If there is any error in that file will anybody help me to find the exact LOOPPASS file.<br></div>
</div><div><div>_______________________________________________</div><div>LLVM Developers mailing list</div><div>LLVMdev@cs.uiuc.edu         <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a></div><div><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a></div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>